Load scene from assetbundle in photon unity webl not working

Hi,

I am loading a scene from assetbundel in photon through photonNetwork.loadlevel()
Its working fine in editor but not working in WebGl build


it give me this error

writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!

Answers

  • Tobias
    Tobias admin
    edited September 14
    This is a "deprecated" message for JS code which Unity writes as export.
    You can ignore this or check with Unity if there is a solution coming up.

    Also, if AssetBundles don't work on a platform, this is again a question for Unity.
  • M_Siddiq
    M_Siddiq
    edited September 14
    Thanks for your reply

    but I am unable to join or create random room and stuck on this error

    see this image for references

    https://imgur.com/gtZvEVg
  • I can't make sense of this stacktrace. It looks like an issue in Unity's exported JS.
    You may want to move to another Unity Editor version. Or report a bug to Unity.