Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.0.0-preview.14
Issue ID
1332726
Regression
No
[UI Toolkit] IMGUIContainer flickers when UI is updated in the Build
How to reproduce:
1. Open the user's attached "DragAndDropExample" project
2. Open the Scene "SampleScene"
3. Open the Build Settings (File->Build Settings...)
4. Press the "Add Open Scenes" button
5. Build And Run
6. Drag the "IMGUIContainer contents" box
Expected results: The box doesn't flicker
Actual results: The box flickers
Reproducible with:1.0.0-preview.11, 1.0.0-preview.14 (2020.3.7f1, 2021.1.6f1, 2021.2.0a16)
Could not test with: 2019.4.25f1 and earlier because the UI Toolkit package was not yet available, 1.0.0-preview.9 and earlier because the Build would be empty
Note:
- The issue has been tested and reproduced on Windows
- The issue is present only in the Build
- The flickering happens when the IMGUIContainer is dragged, when mouse is hovered over it, when mouse button is pressed, when any other container is dragged
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
The availability of the IMGUIContainer class in the UnityEngine assembly was needed for backward compatibility reasons. IMGUIContainers can be used inside the editor but usage outside the editor is unfortunately not something we can support.
While it may currently work in some use cases, proper runtime support for IMGUIContainer would need significant investment on our part because of issues like this one. It's unfortunately not something we plan on supporting in the foreseeable future.