Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1p1
Issue ID
954973
Regression
No
SerializedProperty.hasMultipleDifferentValues never goes back to true after being false
Reproduction steps:
1. Open the attached project "New Unity Project.zip";
2. Select both the Main Camera and Directional Light in the Hierarchy: Inspector shows dashes for their position because the position is different;
3. Execute menu item Test/Randomise Positions: Inspector still shows dashes;
4. Use the Transform Context menu to reset the positions: Inspector shows 0, 0, 0;
5. Execute menu item Test/Randomise Positions.
Actual results: Inspector shows the new position of one of the objects, even if their position is different.
Expected results: There should be dashes shown in the position field.
Reproduced on: 5.5.3p3, 5.6.3p4, 2017.1.1p3, 2017.2.0f2, 2017.3.0b3.
Note: After repeating 1-5 steps and selecting the objects individually shows that their positions are different, and re-selecting both of them shows dashes again.
-
liuliu20036
May 30, 2018 02:41
I find the SerializedProperty.hasMultipleDifferentValues is always false. Which condition can SerializedProperty.hasMultipleDifferentValue change to true?
-
liuliu20036
May 30, 2018 02:38
Hey, I can not find the attached project "New Unity Project.zip". So where can I download it ? Thank you!
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
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note:
Thank you for the report.
Based on the current SerializedProperty architecture it is hard to change behaviour without regressing performance. Unity.Properties is planned to solve these problems from the start. So we won't fix the issue in SerializedProperty directly.