Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: zhing on May 04, 2012, 11:44:21 PM

Title: [SOLVED] I want to buy PlayMaker, But have some question.
Post by: zhing on May 04, 2012, 11:44:21 PM
I know that use PlayMaker 1.3.2 with WWW download AssetBundle will cause "NotSupportedException when trying to discover actions in dynamic modules".
Today, I notice that 1.3.3 is released. I want to check whether it can work with WWW download AssetBundle well?
Is there any demo version PlayMaker 1.3.3 with watermark for free to test?
Thanks~ ;)

========================
1.3.3 is working well with AssetBundle, no exception any more. ;D
Title: Re: I want to buy PlayMaker, But have some question.
Post by: Alex Chouls on May 06, 2012, 01:41:58 AM
I'm curious where you've seen that AssetBundles cause a NotSupportedException? An error log would be very helpful... this is the first I'm hearing about this!

We don't have a trial version yet - still figuring out the best solution, and it keeps getting back-burnered for other work...  :-\
Title: Re: I want to buy PlayMaker, But have some question.
Post by: zhing on May 06, 2012, 06:25:29 AM
Hi, thanks for you reply.
This issue is easy to reproduction.
1. Create a empty GameObject.
2. Add a FSM Component and add some state nodes.
3. Make a prefab with the GameObject.
4. Build a AssetBundle use the prefab. For example: xxx.unity3d
5. Open another project. And use WWW class to download this xxx.unity3d file then AssetBundle.Load to load the prefab.
6. Use Object.Instantiate to clone the prefab.
At this point, you will see that Unity3D try to Instantiate a GameObject with FSM from downloaded AssetBundle and will cause "NotSupportedException".
Title: Re: I want to buy PlayMaker, But have some question.
Post by: Alex Chouls on May 06, 2012, 09:04:25 AM
Thanks for the repro steps. I'll test it with the latest version...
Title: Re: I want to buy PlayMaker, But have some question.
Post by: zhing on May 06, 2012, 10:28:20 AM
Well, I am waiting your test result.
If 1.3.3 fixed this issue, I will buy PlayMaker and use it in my next web game project. ;D
Title: Re: I want to buy PlayMaker, But have some question.
Post by: Alex Chouls on May 06, 2012, 01:54:57 PM
Well I'm not getting an error in 1.3.3, but I also wasn't able to reproduce it in 1.3.2...

Can you post the error?

The error fixed in 1.3.3 was an exception thrown when trying to find custom actions in third party assemblies. Are you using any other dlls in your test?

EDIT: Also, do you have Playmaker installed in the project that's loading the AssetBundle?
Title: Re: I want to buy PlayMaker, But have some question.
Post by: zhing on May 07, 2012, 01:01:17 AM
I doesn't have a copy of PlayMaker 1.3.2 now.
The last time I reproduction this issue when I am at my friend's studio.
So I can't give more logs or any screenshot now. At my first post, I asked for a trial version. ;D

About dll:
Yes, I have use some third part dll files in the project, but didn't use them in the FSM. and I wrote some custom actions in pure C#.
Title: Re: I want to buy PlayMaker, But have some question.
Post by: Alex Chouls on May 07, 2012, 02:48:19 PM
Most likely, the problem is simply that you don't have Playmaker in the project that's loading the AssetBundle. I'll PM you to see how we can test this...