Search Issue Tracker
Fixed in 2.1.0
Votes
0
Found in [Package]
2.0.0-preview.4.
Issue ID
1257236
Regression
No
NullReferenceException error is thrown on selecting GeneralSettings preset asset
NullReferenceException error is thrown on selecting AdaptivePerformanceGeneralSettings preset asset after deleting AdaptivePerformanceGeneralSettings asset.
Steps to repro:
1. Create a new project.
2. Edit > Project Settings > Adaptive Performance > Install.
3. Project Winodw > Select AdaptivePerformanceGeneralSettings > create its Preset.
4. Project Window > Delete AdaptivePerformanceGeneralSettings.
5. Select AdaptivePerformanceGeneralSettings preset asset.
Actual Result:
NullReferenceException is thrown in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.2.0a15, 2020.1.0b13, 2020.1.0a11 with Package Version 2.0.0-preview.8.
Note: Adaptive Performance and simulator option is not available in Project settings with Package Version 2.0.0-preview.4.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.AdaptivePerformance.Editor.AdaptivePerformanceGeneralSettingsPerBuildTarget.OnEnable () (at library/packagecache/com.unity.adaptiveperformance@2.0.0-preview.8/editor/management/adaptiveperformancegeneralsettingsperbuildtarget.cs:38)
UnityEditor.Presets.PresetEditor:OnEnable()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment