Skip to content
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

Using ImGUI with an Evergine project targetting the Web #4

Open
NinovanderMark opened this issue Aug 20, 2023 · 0 comments
Open

Using ImGUI with an Evergine project targetting the Web #4

NinovanderMark opened this issue Aug 20, 2023 · 0 comments

Comments

@NinovanderMark
Copy link
Contributor

While working with Evergine I ran into the following issue for a project that targets the Web. After adding ImGUI per the documentation I'm no longer able to run the project that targets the Web platform, because the cimgui.dll file can't be found by Blazor.

Unhandled Exception: System.Exception: Workaround exception to leverage the actual one, not the wrong Delegate-related one
---> System.DllNotFoundException: cimgui
	at Evergine.UI.ImGuiManager.InitializeImGui()
	at Evergine.UI.ImGuiManager.Start()
	at Evergine.Framework.AttachableObject.BaseStart()
	at Evergine.Framework.Managers.SceneManagers.StartManagers()
	at Evergine.Framework.Scene.BaseStart()
	at Evergine.Framework.Services.ScreenContextManager.InitializeASingleScene(Scene scene)
	at Evergine.Framework.Services.ScreenContextManager.InitializeScreenContext(ScreenContext context)
	at Evergine.Framework.Services.ScreenContextManager.ToExecute(ScreenContext nextContext, ScreenTransition transition, Boolean doDispose)

I've tried copying the DLL from the runtimes\win-x64\native folder in the .Windows project to the _framework folder, and manually adding an entry for it to the blazor.boot.json but that did not resolve the issue.

Any help on getting this resolved would be much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant