Search Issue Tracker
Third Party Issue
Votes
0
Found in
2018.4
2019.4
2020.3
2021.1
2021.2
2021.2.0b4
2022.1
Issue ID
1353992
Regression
No
Prefab doesn't detect overrides when changing MinMaxSlider values in the Prefab instance
How to reproduce:
1. Open the user's attached "GizmoBug.zip"
2. Open the "SampleScene" Scene
3. Select the "Test" GameObject in the Hierarchy
4. Drag the "Test Min Max" property's slider in the Inspector
5. Observe the "Test Min Max" property
Expected result: Changing MinMaxSlider values adds an override to the Prefab
Actual result: Changing MinMaxSlider values doesn't add an override to the Prefab
Reproducible with: 2018.4.26f1, 2019.4.29f1, 2020.3.15f1, 2021.1.17f1, 2021.2.0b5, 2022.1.0a4
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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note:
Hi, as the code MinMaxSlider is not an official Unity code, but from a third party GitHub project, we cannot help resolving the issue in the code.
However when looking at the MinMaxSliderDrawer code it attempts to care of all the responsibilities a property drawer has, however it doesn't implement all the features you request such as the blue property override line. Your simplified version works because it directly calls the official property drawers that do implement the requested features.