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
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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
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.