ArgumentNullException: Value cannot be null with x64 cimgui.dll swap.
getarobo opened this issue · 0 comments
getarobo commented
Hi, I was getting
expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture.
After downloading latest and removing cimgui-freetype.dll.
It worked but I cant get to ShowDemo to work it spits error
ArgumentNullException: Value cannot be null.
Parameter name: value
UnityEngine.MaterialPropertyBlock.SetTexture (System.Int32 nameID, UnityEngine.Texture value) (at <04258d1cdc1044248c2a17a6a31a3cf7>:0)
ImGuiNET.Unity.ImGuiRendererMesh.CreateDrawCommands (UnityEngine.Rendering.CommandBuffer cmd, ImGuiNET.ImDrawDataPtr drawData, UnityEngine.Vector2 fbSize) (at Packages/dear-imgui-unity-hdrp-support/ImGuiNET.Unity/Renderer/ImGuiRendererMesh.cs:160)
ImGuiNET.Unity.ImGuiRendererMesh.RenderDrawLists (UnityEngine.Rendering.CommandBuffer cmd, ImGuiNET.ImDrawDataPtr drawData) (at Packages/dear-imgui-unity-hdrp-support/ImGuiNET.Unity/Renderer/ImGuiRendererMesh.cs:76)
ImGuiNET.Unity.DearImGui.Update () (at Packages/dear-imgui-unity-hdrp-support/ImGuiNET.Unity/DearImGui.cs:201)
I am using Unity 2020.1.9f1 in windows 10
Any help? Thank you!