Because of reasons I had to switch to a Ubuntu distribution. On my Windows machine and NRSDK version 1.8 everything worked fine. The projects could be build with no problems, could be installed and could be started. The only problems I encountered there were my own mistakes and easy to fix.
Now I had to install Unity on PopOS an Ubuntu 22.04 distribution. I installed any necessary .Net stuff and fixed an issue with OpenSSL where I had to downgrade to 1.1 for Unity to run.
The projects run in Unity like a charm. I can debug code with no problems and everything seems to work fine. Building it gives me always different errors.
Failed with at least 2 errors while 4 being the max. Never showing the errors themselves except for 2 of them. They never are shown simultaneously. But mostly it just says there are errors and not showing any.
One being that some thread niceness is 5 instead of -5 as it should be.
The other being something with gradle where I just used custom gradle packages and the error was gone but the others persisted.
But after a restart the build errors are gone like I mentioned in another Topic.
I can build but when I install the apk and open it, it just shows nothing for like 10-30 secs and then close the app to show the home screen of the nreal.
I am using adb connection over tcpip which works really well. adb logcat had even with the ‘-s Unity’ way too many logs to read from the beginning to the end. When I filter for my package name com.package.name I just get this:
--------- beginning of main --------- beginning of system 07-08 12:51:28.295 3594 3612 I com.Iniationware.NrealTestStuff: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 --------- beginning of crash
And after starting the app in question:
07-08 13:02:35.316 4246 4264 I com.Iniationware.NrealTestStuff: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
This line repeats itself after some time or every try to start the app.
I really should have saved the logs from the errors before but I didnt think they would just disappear randomly like that.
I hope you could understand my problem and can help me a bit.