Search Issue Tracker
By Design
Votes
0
Found in
5.5.0b2
Issue ID
831905
Regression
No
EditorPrefs.GetString's default value can not be null
To reproduce:
1. Open attached project
2. Press Window > Test EditorPrefs.
Alternatively, put this line in a script and run it: Debug.Log (EditorPrefs.GetString("UNDEFINED_KEY", null) == null);, it will print false, even though the function should return null, it won't, and the console will print "False".
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] [AudioSource] Errors/warning logged and "AudioSettings.OnAudioConfigurationChanged" event not called when disconnecting the Bluetooth heaphones from the device
- Video is not rendered in Video Player when Material Override is set as the Render Mode and a SpriteRenderer is used
- Scene.isSubScene returns True when a Scene that is not a SubScene is loaded in a build
- The Search window does not show objects with inherited components when filtering by type
- Scrolling occurs when using a shortcut with "Wheel Up" or "Wheel Down" on a selection command in a scrollable Hierarchy window
Add comment