Unity PUN2 android can't create or join room when using IL2CPP

Options
thetnswe
thetnswe ✭✭
It has been taking me so long why I can't create or join any room in the PUN2 Unity Android. It's weirder that it works fine in editor and standalone builds.

Finally, I figured out by testing again in asteriod demo and seems to be like that demo is not working in android devices as well.

PUN2 version - 2.34
Unity version - 2021.2.0b6
Android version - 10

How to reproduce,
1 - Download and setup PUN2 package (2.34)
2 - Build asteriod demo for android
3 - Try to click create room or join random room


It just work fine on Mono build.

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @thetnswe,

    Thank you for choosing Photon!

    2021.2.0b6 it's not a stable release? we usually support stable LTS versions.

    Did you look into logs (logcat)?
    Maybe increase logging level or add SupportLogger?
  • thetnswe
    Options

    Thanks.. I will try to test with the most recent LTS version!