Search Issue Tracker

Fixed in 7.1.5

Votes

0

Found in [Package]

6.5.2, 7.1.1

Issue ID

1184437

Regression

No

[LWRP] Unity crashes on UnityEditor.Handles.Internal_DrawCameraWithGrid when opening particular Scene with Mixed Lighting On

Package: SRP Lightweight Template

-

How to reproduce:
1. Open the attached project in Google Drive
2. Open Scenes > Main Scene

Expected result: Unity does not crash

Reproducible with - 2019.3.0b4, 2020.1.0a4 (LWRP 6.5.2 - 7.1.1)
Could not test with - 2019.2.4f1 and earlier (because of LightAsset not properly serialized, if rebaking lights, does not reproduce)

  1. Resolution Note (fix version 7.1.5):

    Fixed in 2019.3.0f1 & 2020.1.0a15 with 7.1.5 URP

Comments (3)

  1. shomz

    Jan 04, 2021 04:41

    Still happening in 2020.2.1f1... every time the scene is viewed in either Scene or Game tabs, with all combinations of Realtime/Indirect lighting.

  2. jaeeunpark

    Feb 19, 2020 03:19

    Same here, 2019.3.0f6, 2019.3.1f1, URP 7.1.8

    at <unknown> <0xffffffff>
    at (wrapper managed-to-native) UnityEditor.Handles.Internal_DrawCameraWithGrid (UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters&,bool) [0x0000a] in <c10752821eec4acbb89ccd53fbbc5e27>:0
    at UnityEditor.Handles.DrawCameraImpl (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,bool,UnityEditor.DrawGridParameters,bool,bool) [0x000cb] in <c10752821eec4acbb89ccd53fbbc5e27>:0
    at UnityEditor.Handles.DrawCameraStep1 (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters,bool) [0x00009] in <c10752821eec4acbb89ccd53fbbc5e27>:0
    at UnityEditor.SceneView.DoDrawCamera (UnityEngine.Rect,UnityEngine.Rect,bool&) [0x00171] in <c10752821eec4acbb89ccd53fbbc5e27>:0
    at UnityEditor.SceneView.OnGUI () [0x0019e] in <c10752821eec4acbb89ccd53fbbc5e27>:0
    at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0004f] in <437ba245d8404784b9fbab9b439ac908>:0
    at <unknown> <0xffffffff>

  3. xDavidLeon

    Feb 12, 2020 10:34

    Still happening in Unity 2019.3.0f6 with URP 7.1.8 every time I try to launch a Lightmap.

    at <unknown> <0xffffffff>
    at (wrapper managed-to-native) UnityEditor.Handles.Internal_DrawCameraWithGrid (UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters&,bool) [0x0000a] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at UnityEditor.Handles.DrawCameraImpl (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,bool,UnityEditor.DrawGridParameters,bool,bool) [0x000cb] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at UnityEditor.Handles.DrawCameraStep1 (UnityEngine.Rect,UnityEngine.Camera,UnityEditor.DrawCameraMode,UnityEditor.DrawGridParameters,bool) [0x00009] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at UnityEditor.SceneView.DoDrawCamera (UnityEngine.Rect,UnityEngine.Rect,bool&) [0x00171] in <6f28216fea9f453abf2e05b770ed3ee4>:0
    at UnityEditor.SceneView.OnGUI () [0x0019e] in <6f28216fea9f453abf2e05b770ed3ee4>: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.