Per the title.
Given:
First Shot is enabled
Shot Type is Centered
Focus on character B is disabled
Apply immediately is enabled
Then:
Upon triggering a "Camera:Switch" to the conversation camera, Unity will crash.
Diagnosis:
Line 160 of ConversationCamera.cs creates a recursive call to OnSwitchCamera() function, which keeps looping and eventually fills the call stack, causing a crash.
Fix:
What worked for me is to use a different override of this method that specifies the shot, which doesn't cause the call to OnSwitchCamera(). Line 160 has been modified as follows: activeCameraShot.Apply (ownCamera, activeCameraShot);
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Thanks, I'll look into it.