Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a6
2018.3.0f2
2019.1.0a1
2019.2.0a1
Issue ID
1123284
Regression
No
[Gizmos] Gizmos drawn by Debug.DrawLines aren't seen in Prefab Mode
Repro steps:
1. Open QA attached project "repro_ 1123284"
2. Observe the drawn gizmos in the scene
3. Select GameObject in the Hierarchy and enter Prefab Mode
Actual: Notice that gizmos aren't drawn any more
Reproducible with: 2018.3.4f1, 2019.1.0b2, 2019.2.0a4
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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note:
Debug.DrawLine is runtime API and as such is assumed to belong to the Main Stage. Use Gizmos.DrawLine instead for drawing that's meant to be an editor visualization for a specific object. This works in Prefab Mode as well.