Search Issue Tracker
Duplicate
Votes
0
Found in
2019.2.0a7
Issue ID
1141590
Regression
Yes
Errors in UnityEditor.EditorGUIUtility.get_currentViewWidth when Particle System Inspector expands enough to require a scrollbar
How to reproduce:
1. Open the attached project "ParticleSystemShapeUI.zip" and scene "SampleScene"
2. Select "ParticleSystem (no particles)" in the Hierarchy
3. Expand as many Particle System sections as necessary e.g. "Emission", "Shape" etc. to force the scrollbar to appear in the Inspector Window
4. Observe the console window
Expected result: no error messages in the console window
Actual result: two identical NullReferenceException messages get printed to the Console Window
Reproducible with: 2019.2.0a10
Not reproducible with: 2017.4.241f, 2018.3.11f, 2019.1.0b9, 2019.2.0a6
Note: the full error message is
"NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorGUIUtility.get_currentViewWidth () (at <34ccf513c7df4dfcb2ed84f1a3ff5a43>:0)"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
This is a duplicate of issue #1145010