Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
2017.1.0b3
Issue ID
907402
Regression
Yes
Error "The targets array should not be used inside OnSceneGUI..." is thrown when selecting multiple prefabs in Project view
Reproduction Steps:
1. Import attached project.
2. Select the prefabs in Project view. ("GameObject" and "GameObject 1")
3. Observe console.
Expected results: No error should be thrown.
Actual results: Error is thrown:
"The targets array should not be used inside OnSceneGUI or OnPreviewGUI. Use the single target property instead."
Reproducible with: 2017.1.0b4
Not reproducible with: 5.5.3p2, 5.6.0p4
Regression introduced in: 2017.1.0b2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Camera.allCameras returns cameras from all loaded Scenes when using multi-Scene setup
- Cryptic Console error is thrown instead of a user-facing explanation when the Localization package's Google Sheets Extension actions fail due to unauthenticated OAuth credentials
- Camera.layerCullDistances has no effect when GPU Resident Drawer is enabled
- ARM64 and ARMv7 APKs return the same version code when "Split APKs by target architecture" is enabled
- Crash on ProfilerMutexLock when closing a project with specific Assets
Add comment