-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImGui and addressables (Win standalone x64) #37
Comments
Ok found reproduction steps. Short: It seems that attaching a UImGui component to a prefab and loading it as an addressable and instantiated in runtime does not work.
Placing the UImGui prefab in a /Resources/ directory and loading from there works fine and we get proper widgets in built applications. My case for this is that I want to load and instantiate the UImGui prefab when I'm running a dev build and strip it from release builds. It also circumvents the need to place it in all scenes. |
Hello there. Could you share a project sample that doesn't work with addressable? That way other people could try to find a solution. Sorry for the delayed response and thanks for reporting. |
I also experienced this but using scenes. If you load a scene using addressables with the UImGui script in it the UI doesn't render but the layout and update in it are called. It also happens just in builds, not in the editor. |
https://github.com/simeonradivoev/UimGui-Addressable-Bug here I made a project for it. |
Hi! Having trouble getting ImGui to to show in built applications. It works fine in the editor.
Subscribing to the OnImguiLayout event gives the regular callback in built application. Everything seems to be processing normally but the window/widgets won't render.
Sample:
Example widget:
Yields the debug log in built application but no window is rendering where as in the editor we get the correct behavior:
The text was updated successfully, but these errors were encountered: