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

Fails to import via git URL with 9 errors and 1 warning logged to the Console. #15

Open
BrainSlugs83 opened this issue Aug 10, 2020 · 4 comments

Comments

@BrainSlugs83
Copy link

BrainSlugs83 commented Aug 10, 2020

Using Unity 2019.4.4 or 2019.3.15, and importing the package via the following URL: https://github.com/realgamessoftware/dear-imgui-unity.git

The import logs several errors regarding missing files, and there is a warning regarding not being able to load a "native plugin", please see below for more information.

image

Plain text version follows:

[DearImGui] Could not check data layout, native plugin not loaded.
UnityEngine.Debug:LogWarning(Object)
ImGuiNET.Unity.Editor.PluginFeatures:DoPluginChecks() (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity.Editor/PluginFeatures.cs:64)
Could not create asset from Packages/com.realgames.dear-imgui/Resources/Cursors/dmz-white/crossed_circle.png: File could not be read
Could not create asset from Packages/com.realgames.dear-imgui/Resources/Cursors/dmz-white/sb_v_double_arrow.png: File could not be read
Could not create asset from Packages/com.realgames.dear-imgui/Resources/Cursors/dmz-white/hand2.png: File could not be read
Could not create asset from Packages/com.realgames.dear-imgui/Resources/Cursors/dmz-white/sb_h_double_arrow.png: File could not be read
Could not create asset from Packages/com.realgames.dear-imgui/Resources/Cursors/dmz-white/bd_double_arrow.png: File could not be read
Could not create asset from Packages/com.realgames.dear-imgui/Resources/Cursors/dmz-white/fd_double_arrow.png: File could not be read
Could not create asset from Packages/com.realgames.dear-imgui/Resources/Cursors/dmz-white/left_ptr.png: File could not be read
Could not create asset from Packages/com.realgames.dear-imgui/Resources/Cursors/dmz-white/xterm.png: File could not be read
Could not create asset from Packages/com.realgames.dear-imgui/Resources/Cursors/dmz-white/move.png: File could not be read

.
.
.

Additionally, adding the "Dear Im Gui" component to a game object, logs an additional 3 errors:
image

Plain text version follows:

Failed to load 'D:/Projects.Unity/DearImGUI/Library/PackageCache/com.realgames.dear-imgui@561339c07f/Plugins/win/x64/cimgui.dll', expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture.
ImGuiNET.Unity.IOConfig:SetDefaults() (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/Data/IOConfig.cs:55)
ImGuiNET.Unity.DearImGui:Reset() (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/DearImGui.cs:122)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Failed to load 'D:/Projects.Unity/DearImGUI/Library/PackageCache/com.realgames.dear-imgui@561339c07f/Plugins/win/x64/cimgui.dll', expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture.
ImGuiNET.ImGui:CreateContext() (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET/Wrapper/Generated/ImGui.gen.cs:2046)
ImGuiNET.Unity.IOConfig:SetDefaults() (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/Data/IOConfig.cs:55)
ImGuiNET.Unity.DearImGui:Reset() (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/DearImGui.cs:122)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
DllNotFoundException: cimgui
ImGuiNET.ImGui.CreateContext () (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET/Wrapper/Generated/ImGui.gen.cs:2046)
ImGuiNET.Unity.IOConfig.SetDefaults () (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/Data/IOConfig.cs:55)
ImGuiNET.Unity.DearImGui.Reset () (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/DearImGui.cs:122)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

.
.
.

And of course, in this state, the Example code does nothing. 😟

@lifeforce-dev
Copy link

I have errors as well, though not quite the same. Mine would fail to import using https. So I tried to import using http and I received shader errors:
image

@Nolram12345
Copy link

Nolram12345 commented Sep 23, 2021

I am having checkout issues when trying to import with these errors :
image

@rekcah1986
Copy link

The PNG files size is 128 bytes. Their contents are as follows:

version https://git-lfs.github.com/spec/v1
oid sha256:846647a7c19da5669ff91780ea1a398be08e97a0da5effe60d564153d0f8c61a
size 948

@rekcah1986
Copy link

I see, we need "git lfs".

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

4 participants