Problems With Photon Animator View in WebGL

Options
Hello!

So, I had a problem using Photon Animator View in a WebGL game. It took me a long while to figure out that it would work without the Photon Animator View, which turned out wasn't really necessary in the end, but still I thought it was worth mentioning.
While I had a Photon Animator View in my player prefab, WebGL would crash while spamming the following message:

InvalidCastException: Unable to cast object of type 'Int32' to type 'Syngle'.

Comments

  • Tobias
    Options
    type 'Syngle'??

    Unity does the complete conversion to WebGL. If any of that is not working, we can usually not do much more than report a bug to Unity.

    Glad you found a workaround.