Search Issue Tracker
Fixed
Votes
65
Found in [Package]
2018.4
2019.4
2020.2.5f1
2020.3
2021.1
2021.2
Issue ID
1317834
Regression
No
isDebugBuild returns False in the Editor when its value is checked after a build
How to reproduce:
1. Open the attached project "Case_1317834"
2. Build the project
3. Observe the Console Window
Expected result: isDebugBuild returns True
Actual result: isDebugBuild returns False
Reproducible with: 2018.4.32f1, 2019.4.22f1, 2020.3.0f1, 2021.1.0b11, 2021.2.0a8
Notes:
- Restarting the Editor resets isDebugBuild to True
- Screenshot is attached of the Console output showing isDebugBuild being false
Comments (13)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Actions in UI Builder Preview mode are not fully reset after exiting the Preview mode
- Transform field values are no longer visible when Inspector window is resized
- [Android] "Adding null Transform to TransformAccessArray will result in degraded performance" warnings printed when loading and unloading scenes with 2D animated characters
- "Trying to draw gizmos while inside a renderpass" error message is thrown when Scene View Gizmos are enabled
- CPU frame times spike at regular intervals in the Profiler when in Play mode with VSync enabled and using DX12 API
cmdexecutor
Mar 01, 2022 22:08
2021.2.13 HDRP it appears not only in the Editor but in builds as well
Johannski
Jun 07, 2021 07:29
Hey there,
I analyzed the problem over three moths ago in great detail, so this problem can be fixed quickly. The bug is highly annoying, please at least roll out a hotfix as suggested in https://forum.unity.com/threads/errors-with-the-urp-debug-manager.987795/#post-6880571
Sure, even better would be to find a way to handle this logic in general, but from the missing activity I guess this behavior has a long rat tail, so I would be glad to just see you fighting this particular symptom before talking the overall problem.
I'm a bit sad to see no action on your side after putting quite some energy into debugging the problem for you.
Seith
Mar 24, 2021 17:43
Having the same problem. The console is flooded with errors:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.DebugManager.UpdateActions () (at Library/PackageCache/com.unity.render-pipelines.core@11.0.0/Runtime/Debugging/DebugManager.Actions.cs:241)
UnityEngine.Rendering.DebugUpdater.Update () (at Library/PackageCache/com.unity.render-pipelines.core@11.0.0/Runtime/Debugging/DebugUpdater.cs:18)
This was a problem with 2020.3 and I was hoping it'd be fixed on 2021.1f1 but no dice.