IDI-Systems / UnrealImGui

Unreal plug-in that integrates Dear ImGui framework into Unreal Engine 4/5.
MIT License
121 stars 27 forks source link

Packaging plugin fails due to wrong forward declaration (using Unreal 5.1) #6

Closed ademets closed 8 months ago

ademets commented 8 months ago

In TextureManager.h, line 9 it uses "class UTexture2D;" as forward declaration, it should say "class UTexture;"

While normal compile and packaging works, UE will complain when trying to package the plugin for distribution.

jonpas commented 8 months ago

Source of the issue: https://github.com/IDI-Systems/UnrealImGui/commit/2b8f3e55c3d40bf6b84cf2d0da91b64e1c94dc06

Fixed on master.