Search Issue Tracker

Fixed in 2017.1.X

Votes

0

Found in

2017.1.0a6

Issue ID

896431

Regression

No

"The SerializedObject should not be used" when selecting a single atlas in a multi-selected set of atlases

2D

-

"The SerializedObject should not be used inside OnSceneGUI or OnPreviewGUI. Use the target property directly instead." when selecting a single atlas in a multi-selected set of atlases

1. Open attached project
2. Hold CTRL (CMD for OSX) and left-click both atlases to multi-select both of them
3. Release CTRL, then left-click on either atlas

Tested on: 2017.1.0a6, a5

The serializedObject should not be used inside OnSceneGUI or OnPreviewGUI. Use the target property directly instead.
UnityEditor.U2D.SpriteAtlasInspector:OnEnable()

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.