Answer by RMGK
I eventually used DateTime.Now to get the system time and DateTime.Now.Subtract(oTime).TotalSeconds to get the delta time in seconds to mimic what I was doing with Time.realtimeSinceStartup.
View ArticleAnswer by RMGK
Hey mate, if you have a field called "guid" in a script, it messes with the unity prefab data. Rename to solve.
View ArticleAnswer by RMGK
So I have reverted to using the old mono develop. Just do a duel install of Unity (Install Unity 4.2, rename its folder to something like "Unity 4.2", then install Unity 4.3) and then set your script...
View ArticleAnswer by RMGK
I had the issue when trying to use dynamic fonts with NGUI. As soon as I switched back to Bitmap fonts, all was good.
View ArticleAnswer by RMGK
As far I know, the OnAudioRead and OnAudioSetPosition methods only fire events based on the unity playback position. Its supposed to give you a little more control of doing actions based on what sample...
View ArticleAnswer by RMGK
If you are on a Mac, Applications->Unity->Unity (Show Package Contents) Contents->CGIncludes
View ArticleAnswer by RMGK
Set "Strip Assemblies" in teh build settings. Dropped mine from 94 to 53mb
View ArticleAnswer by RMGK
"Strip Assemblies" in player build settings. Dropped my System.ExecutableAndDlls from 92 to 53mb in an empty project with a few plugins.
View ArticleAnswer by RMGK
**Force OpenGL ES 2.0.** Had the same of Kindle HDX crashing only. Try forcing OpenGL ES 2.0. Here are the things I did to find the solution, I am including the process incase it helps you. 1) was...
View ArticleAnswer by RMGK
Thanks for all the feedback peeps. I was checking mainly for my own habits but the case in point is accessing sample data from an audio file. We have a playhead int in one class and the float array in...
View ArticleAnswer by RMGK
https://forum.unity3d.com/threads/ios-app-never-asks-for-microphone-permissions.450307/ Application.HasUserAuthorization(UserAuthorization.Microphone); Turns out that the docs are supposed to incorrect...
View ArticleAnswer by RMGK
This is a tough one. The way I got around it was using a custom Uploader using UnityWebRequest. Something like below: UnityWebRequest webRequest = new UnityWebRequest(, "POST"); byte[] encodedPayload =...
View ArticleAnswer by RMGK
See answer here: https://answers.unity.com/questions/1491938/sending-an-http-post-request-with-json-body.html?childToView=1612281#answer-1612281
View ArticleAnswer by RMGK
Yea, just confirmed. DEVELOPMENT_BUILD only gets used in compiled builds. I'm not sure why Unity did that. To identify debug builds at runtime, use Debug.isDebugBuild or DEVELOPMENT_BUILD. In Editor...
View ArticleAnswer by RMGK
I am getting the exact same issue, except on OSX. It's happening with Unity 2020.1.5 with the Android SDK, JDK and NDK installed. Please help. Update: It's happening with 2020.1.6 as well. Using OSX...
View Article