Playmaker Forum

Bug Reporting => Playmaker Bug Reporting => Topic started by: AngusKo on May 08, 2018, 11:45:36 PM

Title: Playmaker Editor make unity crash
Post by: AngusKo on May 08, 2018, 11:45:36 PM
Playmaker Editor make unity crash
Area: Editor
Frequency: Always

1) What happened
Playmaker Editor make unity crash.

2) How can we reproduce it
1. Creat new project.
2. Import playmaker assets.
3. Install playmaker.
4. Open playmaker editor.
5. Unity crash.

I had try other version with unity (2017.3 and 2017.4).

anan20.tw@gmail.com

Unity Info:
Unity Version: 2018.1.0f2
Playmaker Version: 1.8.9.f1
BuildTarget: StandaloneOSX

System Info:
OS: Mac OS X 10.13.4
Processor: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
System Memory: 16384
Graphics Device: AMD Radeon R9 M370X
Title: Re: Playmaker Editor make unity crash
Post by: jeanfabre on May 09, 2018, 12:51:43 AM
Hi,

the reason might be that you need to refresh the asset store cache, if you have several version of Unity installed, Unity messed up it's look up system for the asset cache in these situations.

 So in your asset store, go clear your offlinw cache for PlayMaker asset and redownload.

 BYe,

 Jean
Title: Re: Playmaker Editor make unity crash
Post by: AngusKo on May 09, 2018, 03:03:27 AM
Now the only unity version on my computer is 2018.1.0f2.

Do you mean I need to delete this folder?
~library/Unity/Asset store-5.x/Hutong Games LLC

Sorry, I don't know how to clear asset store cache.
Please tell me how to do that, thank you.
Title: Re: Playmaker Editor make unity crash
Post by: jeanfabre on May 10, 2018, 11:36:45 PM
Hi,

 if you only have one version of Unity on your computer, then it's not a issue with the cache.

 I did start a project using 2018.1 and I must say I experience lots of crashes too and they were not related to PlayMaker, like random crash on asset import, random crash of lighting tweaking, I restart at least 4 5 times during a work session...

 so I am afraid 2018.1 is just not there yet and we shoudl wait for 2018.2 for production projects...

so I can confirm Playmaker do work with 2018.1, on your end is it 100% reproduceable, that is you just can not create a project and add Playmaker at all?

have you tried to disable unity analytics? maybe this will help, when you create a new project you can decide to not send editor analytics for that projects and so unity will not try to contact its server constantly. Could help.


 Bye,

 Jean
Title: Re: Playmaker Editor make unity crash
Post by: AngusKo on May 13, 2018, 08:44:51 PM
Thanks Jean.

The crash problem start when I testing watermarks function. The editor open failed then unity crash.

After watermarks crash, unity crashes every time, even I create new project or open old projects.

I close unity analysis every time when I create new project, so I think not it's problem.

My friend using unity 2018.1 and latest version of playmaker too, he trying to open watermarks then got some error logs. But his unity doesn't crash, and playmaker works fine.

Maybe the logs can help your team to fix the problem.
https://www.dropbox.com/s/dud0ddbakxdxh55/Playmaker%20WaterMark%20Bug.zip?dl=0 (https://www.dropbox.com/s/dud0ddbakxdxh55/Playmaker%20WaterMark%20Bug.zip?dl=0)
Title: Re: Playmaker Editor make unity crash
Post by: Alex Chouls on May 13, 2018, 10:21:05 PM
Thanks, I’ll take a look at the logs...
Title: Re: Playmaker Editor make unity crash
Post by: nickfourtimes on October 15, 2018, 11:57:42 AM
Was any progress made on this bug? We're seeing it on our end on all versions of U2018... the game runs fine in the editor, unless you have the PlayMaker editor window open, when it'll crash more than half of the time when you hit the Play button.
Title: Re: Playmaker Editor make unity crash
Post by: nickfourtimes on October 15, 2018, 12:02:50 PM
The log files haven't really been super helpful (from our point of view), though one commonality is that the stack traces all seem to point at the garbage collector.
Title: Re: Playmaker Editor make unity crash
Post by: jeanfabre on October 16, 2018, 12:59:49 AM
Hi,

 Maybe you could pm me with that project. I am working extensivly with playmaker and 2018 on projects and I don't experience this.

 in your profiler, can you deep profile and check where this garbage occurs, I would first profile the game itself, and then the editor.

 Bye,

 Jean
Title: Re: Playmaker Editor make unity crash
Post by: nickfourtimes on October 18, 2018, 11:45:25 AM
I just got a response from the bug report I filed through Unity itself:

Quote
Hey,

Thank you for submitting a bug to Unity.

We have identified this issue as a duplicate of an existing known bug and we will be closing the issue. The information you have supplied will help us further in the resolution.

The case is not public, however, it is fixed in upcoming Unity 2019.1. Unfortunately, for now we cannot specify the ETA of the public release, nor the status of potential backports.

If you have further questions, feel free to contact us.

Regards,
QA Team

...so for now I guess we'll just wait on a fix and try to mitigate the problem as much as possible.

I'll still send you a PM with a link to our project; I'm not sure it'll be super instructive (there's a lot of FSMs that kinda got thrown together and I'm still coming to grips with that myself), but you might notice something that stands out as dangerous.