You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recieved this error when creating a Dear Img Ui Component:
"Failed to load '[unity project dir]/Library/PackageCache/com.realgames.dear-imgui@101996d5fc/Plugins/win/x64/cimgui.dll', expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture."
The text was updated successfully, but these errors were encountered:
Hi, this repository is a guide on how to install Dear ImGui. If you're experiencing issues with the package, you can report them to the official repository.
Please note that this package is 4+ years old, and there might be newer, better-maintained repos for Dear ImGui.
Regarding your specific problem, the issue is that the .dll file is expected to have an x64 architecture. To fix this, follow these steps:
Click on the .dll file.
In the Inspector window, go to Platform settings.
Select either x64 for the CPU option.
Click on apply
A .dll (dynamic link library) is compiled code that must target specific hardware (32-bit or 64-bit CPU). Since 32-bit CPUs are outdated, it's recommended to use 64-bit (x64). For reference, a 32-bit CPU is denoted as x86.
Since, cimgui.dll is in the x64 folder on Windows, therefore, you can specify those details inside the inspector window of that .dll file.
Recieved this error when creating a Dear Img Ui Component:
"Failed to load '[unity project dir]/Library/PackageCache/com.realgames.dear-imgui@101996d5fc/Plugins/win/x64/cimgui.dll', expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture."
The text was updated successfully, but these errors were encountered: