Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0f2
Issue ID
1111198
Regression
No
Space attribute order in .NET4.x is different in the inspector window than from a script
To reproduce:
1. Open attached project "1111198.zip"
2. Select "GameObject" from the hierarchy
3. Observe in the Inspector window that there is a gap between "Testing" and "Age" variable
4. In Player Settings change Scripting Runtime Version from .NET3.5 to .NET4.x
5. Select the "GameObject" again and observe as there is no gap between "Testing" and "Age" variable but there is a gap between Script name and "Testing"
Expected result: [Space] attribute works on .NET4.x in the same way as in .NET3.5
Actual result: [Space] attribute is placed before [Header] attribute even though in the script the [Space] attribute is after [Header] attribute
Reproduced on:
2017.4.0f1 2017.4.22f1 2018.3.8f1 2019.1.0b6 2019.2.0a7
Notes:
If [Space] attribute is added before [Header] attribute, then space behaves normally.
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
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- 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
Resolution Note (2019.2.X):
low priority defect and cosmetic issue. Likely won't be fixed.