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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.