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

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

Description

@getarobo

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions