Unity3d How to Enable Unsafe Code in Player Settings

Опубликовано: 12 Февраль 2022
на канале: Mohammad Faizan Khan
4,722
22

Want to run unsafe code in Unity3d?
I was working with Euclidean UdSDK and found unsafe code error: Assets\Plugins\EuclideonUdSDK\udSDK\csAPI\udRenderContext.cs(34,26): error CS0227: Unsafe code may only appear if compiling with /unsafe. Enable "Allow 'unsafe' code" in Player Settings to fix this error.
In order to solve it you have to enable unsafe option. see the video for the solution.

#unityError #unityIssue

See Unity3d Short Video Playlist:
Unity3d How To Series - Short Video Tutorials for Beginner Unity Developers
   • Unity3d How To Series  

Unity UI Tutorials:
   • Unity3d UI  

Unity Advanced Tutorials:
   • Unity3d Advance Tutorials  

UnityTips Collection:
   • Unity3d Tips  

Mohammad Faizan Khan