How to Enable Unsafe Code in Player Settings Unity3D

I was working with EuclideonUdSDK sample and found unsafe code error in Unity.

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. 

Unsafe Code Solution:

 In order to solve it, you have to enable the unsafe code option in player settings. Watch the below video where I have explain this:

Post a Comment

0 Comments