Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2019.1.X
Votes
0
Found in
2017.4.0a1
2018.3.0a1
2018.3.1f1
2019.1.0a1
2019.2.0a1
Issue ID
1117599
Regression
Yes
[UIElements] Unsetting the persistenceKey of a root VisualElement does not disable saving for children
Steps to reproduce:
1. Open original project
2. Use "Window -> UIElements -> ScrolViewTest"
3. Open Profiler, deep profiling on, Profile Editor on, start recording
4. Drag scrollbars
5. Notice spikes in profiler during mouse movement, see comments in ScrollViewTest.cs, changing the persistenceKey of root has no effect
6. Uncomment scrollView slider persistenceKey setters
7. Drag Scrollbars, observe reduced activity in profiler
Expected result: Setting the root as shown in the project should have the same effect as setting the touched elements directly.
Actual result: Setting the root as shown in the project shows more profiler activity than setting the touched elements directly.
Reproduced in: 2017.4.18f1, 2018.3.3f1, 2019.1.0a14, 2019.2.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on tlsf_free when exiting Play Mode in a specific project
- Camera Solid Color is overwritten when injecting Custom Render Pass at 'RenderPassEvent.AfterRenderingPrePasses + 1'
- Shadows are not rendering when using the "On Demand" shadow update mode with GPU Resident Drawer and additional camera render texture
- "AVFoundationVideoMedia error while reading” error is thrown when streaming from a URL with a signed token in VideoPlayer
- Custom Render Pass using Render Graph does not render to the Game view when used with a 2D URP Renderer
Add comment