Search Issue Tracker
Duplicate
Votes
0
Found in
2020.2.0a13
2020.2.1f1
2021.1
2021.2
Issue ID
1307651
Regression
Yes
An empty element appears when drag and dropping a Texture 2D to a field of a Sprite array in the Inspector
Reproduction steps:
1. Open the project "GameBase-client.zip"
2. Open SpreadSheet Scene
2. Click on the "TestObject" in the Hierarchy
3. Find a Texture 2D like "ImageSplash" in the Project
4. Drag the Texture to the Inspector -> Test (Script) -> Images (label)
Expected result: A Sprite gets added to the Sprite array in the Serialized field in the Inspector
Actual result: Empty element gets added to the Sprite array in the Serialized field in the Inspector
Reproducible with: 2020.2.0a13, 2020.2.3f1, 2021.1.0b5, 2021.2.0a3
Not reproducible with: 2019.4.19f1, 2020.2.0a12
Can't test with: 2018.4.31f1 (this feature not implemented)
Notes:
- Code to reveal the Sprite array in the Inspector: public Sprite[] images;
- if you add [SerializeField] tag, the issue reproduces
- if you add [NonReorderable] tag, the issue does not reproduce
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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
This is a duplicate of issue #1281986