Hi there, I’ve been trying to figure this one out.
The title I’m working on is first person, but the player can use a cell phone to take pictures of the world. For this, I’ve been using a RenderTexture on the phone object, tied to the phone’s camera. The problem I was seeing was that Unity itself would lock up/freeze at random times while playing with the phone camera on. It usually happens either immediately upon hitting play or anywhere up to 30 seconds into play.
At first I thought it was bad nVidia video drivers on my PC, but I updated those and it was still happening. So I did a fresh sync of the project from our depot onto my laptop, which is an ATI, and found it happened there, too.
My next step was to export the scene in question as a package, then import it into a new project. I was surprised to find that it no longer froze!
This leads me to believe that either something is corrupted in my project, or there is some setting that is on that could be causing the issue.
We are using the Unity 3.5 beta.
If anyone has any insights, or how I might fix this, I would be very eager to hear any suggestions!