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

Scene/Game View

-

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

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

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.