Fix for error in PunLookSource

Fenda

Member
@Justin Just a heads up that we fixed a bug in PunLookSource. In a multiplayer game, if the master client destroys their character and instantiates a new one then they get an error. This is due to m_LookSource being null for one cycle of OnPhotonSerializeView.

Was pretty easy to fix, just gotta null check it when its actually used rather than in the entire if:

1704510876729.png
 
Top