realgamessoftware / dear-imgui-unity

Unity package for Dear ImGui
MIT License
455 stars 108 forks source link

error CS0103: The name 'Unsafe' does not exist in the current context unity 2020.1.0b4 #28

Open iamabigartist opened 2 years ago

iamabigartist commented 2 years ago

unity version: image

action: import the package errors: image

Lyksel commented 2 years ago

Does anyone have a solution? I have the same problem

mathsteck commented 1 year ago

I'm having the same issue. Apparently, Unity moved the Unsafe to UnsafeUtility from Unity 2020 onwards: https://docs.unity3d.com/ScriptReference/Unity.Collections.LowLevel.Unsafe.UnsafeUtility.html