So, I've got this system up and running in, works perfectly in the editor, no errors, nothing. And of course, getting ready for release, I spin up a build, then, out of no-where it doesn't work, not at all. And the whole time the build is up and running, I'm getting the following error.
NullReferenceException: Object reference not set to an instance of an object at UnityEngine.Rendering.DebugManager.UpdateActions () [0x0001b] in C:\Users\harri\source\repos\The Lost Keep\Library\PackageCache\[email protected]\Runtime\Debugging\DebugManager.Actions.cs:244 at UnityEngine.Rendering.DebugUpdater.Update () [0x0002a] in C:\Users\harri\source\repos\The Lost Keep\Library\PackageCache\[email protected]\Runtime\Debugging\DebugUpdater.cs:180
It doesn't appear to have any association with any scripts that I wrote, yet scripts I wrote just don't work.
Any tips on how to fix it?
DebugManager.instance.enableRuntimeUI = false;and see if the problem disappears.