Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

ArgumentNullException: Value cannot be null with x64 cimgui.dll swap. #22

Open
getarobo opened this issue Jan 20, 2021 · 0 comments
Open

Comments

@getarobo
Copy link

getarobo commented Jan 20, 2021

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!

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

No branches or pull requests

1 participant