playMaker

Author Topic: PUN2 error after instantiation  (Read 1965 times)

Padenlee

  • Junior Playmaker
  • **
  • Posts: 63
  • You can't hit what you don't shoot for!
PUN2 error after instantiation
« on: October 07, 2019, 01:25:53 PM »
I just added PUN2 and the Playmaker PUN2 package to my Ludum Dare jam game and I'm getting this error every time I instantiate a game object:

InvalidOperationException: Collection was modified; enumeration operation may not execute.

Along with this error the Play Maker Photon Game Object Proxy gets disabled.

I was working with PUN2 last week and this error did not occur.
-Paden Pierry
@padenpierry
Apple inc.'s first TV show, EP 1.
Game Dev since 2007
Coolest client: Bridgestone

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PUN2 error after instantiation
« Reply #1 on: October 09, 2019, 02:28:19 AM »
Hi,

odd.. What version of PlayMaker and Unity are you using?

Bye,

 Jean

Padenlee

  • Junior Playmaker
  • **
  • Posts: 63
  • You can't hit what you don't shoot for!
Re: PUN2 error after instantiation
« Reply #2 on: October 11, 2019, 08:01:53 PM »
Unity 2019.1.1f1
Playmaker 1.9.0.p19
-Paden Pierry
@padenpierry
Apple inc.'s first TV show, EP 1.
Game Dev since 2007
Coolest client: Bridgestone

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PUN2 error after instantiation
« Reply #3 on: October 14, 2019, 03:02:45 AM »
Hi,

 I think I fixed it, Can you updated from the Ecosystem and check?

 let me know how it goes.

Bye,

 Jean