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

Package: Scriptable BuildPipeline

-

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)

  1. 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

  2. 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

  3. 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.

  4. Stadob

    Jun 06, 2022 12:31

    2021.3.3 LTS still issue. Comoooooon.... !

  5. darthdeus

    May 01, 2022 16:38

    I can confirm this happens in 2021.3.0f1 too

  6. andreiagmu

    Apr 17, 2022 20:04

  7. 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.

  8. 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

  9. 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

  10. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.