Search Issue Tracker
By Design
Votes
2
Found in
2017.1.0f1
Issue ID
927725
Regression
No
FindObjectOfType does not find GameObject with HideFlags.DontSave
Steps to reproduce:
1. Open user attached project (SingletonTest)
2. Click Tools->Create Singleton
3. Click Tools->Find
4. A debug log is printed that the object with HiddenDebugSettings.cs script attached is not found
Expected result: HideFlags.DontSave should not affect FindObjectOfType
Actual result: FindObjectOfType does not find GameObject with HideFlags.DontSave
Reproduced in: 2017.2.0b2, 2017.1.0f3, 5.6.2p2, 5.5.4p1, 5.4.5p4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Builder Scroll button for Code Preview section automatically selects all of the code
- Memory increases indefinitely when playing VLC video stream
- An invisible Element without edges is left over when a Preview is converted to a Floating Window in the Inspector
- All "Multiplayer Center" window becomes blank and "Console" displayes "ArgumentException: Cannot unschedule unknown scheduled function UnityEngine.UIElements.VisualElement+SimpleScheduledItem" when user changes docked "Multiplayer Center" window position
- Closing HDR Color window after selecting a colour with Colour Picker closes HDR Gradient Editor (linear) window as well
Add comment