playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zhing

Pages: [1]
1
PlayMaker Help / Re: FsmObject cause NotSupportedException
« on: May 12, 2012, 08:32:12 PM »
Could I have any way to get beta version which fixed this problem? :)
There error logs were printed time and time again. So I really can't debug the state machine. :(

2
PlayMaker Help / FsmObject cause NotSupportedException
« on: May 11, 2012, 08:19:07 PM »
I try to use FsmObject variable to store NGUI's UIAtlas object.
And use my custom action script to get/set it.

When I run my game and select the game object which has FSM.
NotSupportedException cause again and again.

The log as below:
NotSupportedException: The invoked member is not supported in a dynamic module.
System.Reflection.Emit.AssemblyBuilder.GetExportedTypes ()
HutongGames.PlayMaker.FsmUtility.GetType (System.String typeName)
HutongGames.PlayMakerEditor.FsmVariable..ctor (UnityEngine.Object owner, HutongGames.PlayMaker.FsmObject fsmObject)
HutongGames.PlayMakerEditor.FsmVariable.GetFsmVariableList (HutongGames.PlayMaker.FsmVariables variables, UnityEngine.Object owner)
FsmComponentInspector.BuildFsmVariableList () (at Assets/PlayMaker/Editor/FsmComponentInspector.cs:311)
FsmComponentInspector.OnInspectorGUI () (at Assets/PlayMaker/Editor/FsmComponentInspector.cs:157)
UnityEditor.InspectorWindow.DrawEditors (Boolean isRepaintEvent, UnityEditor.Editor[] editors, Boolean eyeDropperDirty) (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/Inspector/InspectorWindow.cs:888)
UnityEditor.InspectorWindow.OnGUI () (at C:/BuildAgent/work/b0bcff80449a48aa/Editor/Mono/Inspector/InspectorWindow.cs:243)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)

But if I didn't select the game object in the hierarchy, the FSM run was running well and no exception.
My PlayMaker is 1.3.3.

3
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#.

4
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

5
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".

6
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

Pages: [1]