Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 5.0.0 crashes Unity 2022.3.17f1 #61

Open
flarsson87 opened this issue Apr 22, 2024 · 2 comments
Open

[BUG] 5.0.0 crashes Unity 2022.3.17f1 #61

flarsson87 opened this issue Apr 22, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@flarsson87
Copy link

flarsson87 commented Apr 22, 2024

Describe the bug
Unity crashes with a SIGSEGV error when running the example prefab with URP on 2022.3.17f1

To Reproduce
Steps to reproduce the behavior:

  1. Install the package from git link https://github.com/psydack/uimgui.git
  2. Follow the steps to set up URP rendering.
  3. Drag & drop prefab contained in the package
  4. Connect references
  5. Press play

Version/Branch of UImGui:
Version: 5.0.0

Unity Version
2022.3.17f1

Render pipeline (HDRP / URP / Built-in)
URP

Expected behavior
Able to run demo script / prefab with this unity version.


Is this too old of a Unity version or is there something I'm missing?

Log

=================================================================
	Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at ImGuizmoNET.ImGuizmoNative:ImGuizmo_BeginFrame <0x00086>
	  at ImGuizmoNET.ImGuizmo:BeginFrame <0x0001a>
	  at UImGui.UImGui:DoUpdate <0x0011a>
	  at UImGui.UImGui:Update <0x0003a>
	  at System.Object:runtime_invoke_void__this__ <0x00087>
=================================================================
Received signal SIGSEGV
Obtained 2 stack frames
RtlLookupFunctionEntry returned NULL function. Aborting stack walk.
<Missing stacktrace information>

EDIT: to circumvent you can add the defines:

UIMGUI_REMOVE_IMPLOT
UIMGUI_REMOVE_IMNODES
UIMGUI_REMOVE_IMGUIZMO
@flarsson87 flarsson87 added the bug Something isn't working label Apr 22, 2024
@afwaxx
Copy link

afwaxx commented May 13, 2024

Any updates on this? @psydack

@Orio-nn
Copy link

Orio-nn commented Jul 6, 2024

EDIT: to circumvent you can add the defines:

UIMGUI_REMOVE_IMPLOT
UIMGUI_REMOVE_IMNODES
UIMGUI_REMOVE_IMGUIZMO

I've tried every combination of these, and it only seems to work when all 3 are removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants