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
Vitaly_Unity
Aug 16, 2022 16:34
Due to some limitation of our "Fogbugz -> Jira" transition this but will not be updated with backport fixes, please follow this instance of the same bug https://issuetracker.unity3d.com/issues/isdebugbuild-returns-false-in-the-editor-when-its-value-is-checked-after-a-build-1
Vitaly_Unity
Aug 12, 2022 16:55
Unfortunately this case's statuses were messed up by migration to Jira. So it is fixed and the fix landed in 2022.2.0a2 (that should be updated on the main view above soon) . I am requesting backports for it right now
atr0phy
Jun 18, 2022 12:11
2021.3.4f1 URP
This is a 1.5 year old bug, devs. It's time to fix it.
Stadob
Jun 06, 2022 12:31
2021.3.3 LTS still issue. Comoooooon.... !
darthdeus
May 01, 2022 16:38
I can confirm this happens in 2021.3.0f1 too
andreiagmu
Apr 17, 2022 20:04
I posted a new workaround here:
https://forum.unity.com/threads/errors-with-the-urp-debug-manager.987795/#post-8055599
dogboydog
Apr 15, 2022 13:21
I have never enabled "enter play mode options" in unity and I still get this error. I toggled it on and back off, then rebuilt the game. It does not help with this issue for me.
andreiagmu
Apr 15, 2022 10:04
A possible workaround: (disable "Enter Play Mode Options" before making a build)
https://forum.unity.com/threads/errors-with-the-urp-debug-manager.987795/#post-8050184
andreiagmu
Apr 15, 2022 09:03
I'm having this same issue after making a development build of my game.
I tested on Windows and Android builds, and the issue happened on both platforms.
Unity 2021.3.0f1 LTS
URP 12.1.6
dogboydog
Mar 23, 2022 05:07
Same error here happens infinitely while the game is running. Hope there can be a fix. Unity version 2021.2.15f1
NullReferenceException: Object reference not set to an instance of an object
at UnityEngine.Rendering.DebugManager.UpdateActions () [0x00016] in <ac22bf37d8174af4a1b616a984c6c235>:0
at UnityEngine.Rendering.DebugUpdater.Update () [0x0001f] in <ac22bf37d8174af4a1b616a984c6c235>:0