playMaker

Author Topic: Bugs for specific users? (PUN+Playmaker Related)  (Read 1505 times)

argDes

  • Playmaker Newbie
  • *
  • Posts: 3
Bugs for specific users? (PUN+Playmaker Related)
« on: November 18, 2022, 06:06:28 AM »
Hello,


I've recently released a demo of my game called "The Highrise" where I mostly used Playmaker and Photon for development.

And I've been given reports from a few users abroad that the game was broken:

https://www.youtube.com/watch?v=Phrqpu9_GAo&t=1112s (38 Sec)


Although the demo was released as Offline only, this bug only happens to users from certain countries(Germany, Poland and Russia so far).

The bug seems to be related to mispositioned spawning: everything spawned with "Photon Instantiate" seems to be spawned at the wrong positions (those stored inside the prefabs)...

The game works fine for users from US and South Korea, and I can't reproduce this bug on my computer.

I've asked Photon about this issue on the Unity forum as well:

https://forum.unity.com/threads/photon-instantiate-spawns-at-0-0-0-on-certain-computers-abroad-offline-mode.1357040/#post-8580154


I've also found one developer on StackOverflow who also had used Playmaker and experienced specific bugs for different users:

https://stackoverflow.com/questions/71288002/have-you-had-user-specific-bugs-with-unity-builds-that-you-have-sent-out


But so far, I couldn't find any clue on this matter even after having built a dozen.


Would you leave replies if you have any idea on this issue?

For more info, I'm attaching both logs from the player with no bug and the other with the bug (I've zipped them to fit the allowed size.)


Thank you :)

Wish you all a wonderful day

600

  • Moderator
  • Hero Member
  • *****
  • Posts: 719
    • 600
Re: Bugs for specific users? (PUN+Playmaker Related)
« Reply #1 on: November 19, 2022, 08:01:36 AM »
Hello,

I had similar issue about the "Vector3 o String", but only on my work machine. Maybe it can be on game build too. Try adding region fix file in your project
https://hutonggames.com/playmakerforum/index.php?topic=994.msg94845#msg94845

argDes

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Bugs for specific users? (PUN+Playmaker Related)
« Reply #2 on: November 19, 2022, 08:31:28 AM »
Thank you, 600!


You are right!!

It was ToString() format issue in the end. (It was used to convert Vector3s to String as you suggested.)


I set the CultureInfo() as the following:

CultureInfo.CurrentCulture = CultureInfo.InvariantCulture;


I think this would have fixed the bug but I'll wait for users' responses after updating the hotfix and come back!

Have a great weekend ;)

argDes

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Bugs for specific users? (PUN+Playmaker Related)
« Reply #3 on: November 20, 2022, 01:51:10 AM »
The bug is fixed  ;)

Thanks again!!