- Home /
About UNSAFE CODE
Hi Everyone,
I am integrating UNITY and C# to develope an interactive system. I am facing a trouble.
I do not know how to let UNITY to read data from a specific memory address which contains
data written by a C# program. Could everyone give me guidance to overcome this problem?
Thanks a lot!
Best Regards youngyoung
Take a look at this answer (down at the bottom, it's a long scroll):
http://answers.unity3d.com/questions/153415/unsafe-code-with-unity.html
Answer by Statement · Dec 12, 2011 at 10:26 AM
Searched a bit online and read this:
Unity Pro supports unsafe code in all its various guises. Unsafe code does not work with the web player due to security reasons.
So you should be able to use unsafe code if you have pro, and aren't making a webplayer build.
Your answer

Follow this Question
Related Questions
How to implement custom Native List 1 Answer
Trouble creating a C# UDP interface to a C++ app in Unity 2 Answers
Associating NativeArray with a Job manually 1 Answer
Possible to use Mono DataConvert in Unity? 1 Answer
NativeList.GetUnsafePtr() throwing The type 'T' must be a non-nullable value type 1 Answer