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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment