"Null-Check" hold on to lots of memory. why? what happened? Anybody encounter the problem?
Asked
Active
Viewed 275 times
2
-
1Use the profile and enable deep profiler. It will show you what line of code is causing the problem. Please post that code here. No one can help without that. – Programmer Jun 08 '16 at 10:38
1 Answers
0
Disable Null check while using IL2CPP with the Il2CppSetOptions
attribute in every function.
[Il2CppSetOption(Option.NullChecks, false)]
void functionName(){
}

Programmer
- 121,791
- 22
- 236
- 328
-
Thank you for your response! Finally, I solved it. The cause of the problem is allocated memory by other thread, but not the main thread. I use static memory instead of dynamic allocation. And It works well now... ( ╯□╰ )sorry for my poor English. – wei zhong Jun 13 '16 at 09:06
-