Playmaker Forum
PlayMaker Help & Tips => iOS Help => Topic started by: Ohms on January 25, 2016, 11:30:32 AM
-
I am getting some exc_bad_access build errors in Xcode while trying to run a build for tvOS and was wondering if anyone is experiencing the same problem? Incidentally, the iOS builds I have outputted work fine on iPhone/iPad and I have ran the standard unity example projects on the AppleTV (that don't use playmaker) There were number of playmaker build errors I had to overcome when building for tvOS from unity but now that that is working, Xcode is causing problems.
I am using:
Unity V5.3.1
MacOS V10.10.5
Playmaker V1.7.8.2
Xcode 7.2
tvOS 9.1.1
Any help would be great :)
Thanks
-
Hi,
I don't own a tvOS so I can't test unfortunatly. Hopefully someone will step up and give more infos on this.
Have you tried to play with player settings? especially
-- ' Api Compatibility Level"
-- Strip engine code
Bye,
Jean
-
Hi Jean
I have tried those as you had suggested but I sill get the same error:
(Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)
ArgumentException: Path is empty
at System.Diagnostics.StackTrace.get_trace (System.Exception e, Int32 skipFrames, Boolean fNeedFileInfo) [0x00000] in <filename unknown>:0
at System.IO.File.Exists (System.String path) [0x00000] in <filename unknown>:0
at ES2FileStream.CreateStorageStream () [0x00000] in <filename unknown>:0
at ES2FileStream.Store () [0x00000] in <filename unknown>:0
at ES2.Save[T] (System.Collections.Generic.List`1 param, System.String identifier) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.Actions.ArrayListEasySave.SaveArrayList () [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.Actions.ArrayListEasySave.OnEnter () [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.FsmState.ActivateActions (Int32 startIndex) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.FsmState.OnEnter () [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.Fsm.UpdateStateChanges () [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.Fsm.Start () [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.Fsm.ProcessEvent (HutongGames.PlayMaker.FsmEvent fsmEvent, HutongGames.PlayMaker.FsmEventData eventData) [0x00000] in <filename unknown>:0
at HutongGames.PlayMaker.Fsm.Event (HutongGames.PlayMaker.FsmEventTarget eventTarget, HutongGames.PlayMaker.FsmEvent fsmEvent) [0x00000] in <filename unknown>:0
(Filename: currently not available on il2cpp Line: -1)
(lldb)
-
So it may actually be an easy save problem as I don't think they support tvOS...
-
Hi,
uhm... yes indeed.
the usualy steps to make sure this is not a PlayMaker issue are the following:
1: fresh project, nothing! and publish a totally blank scene
2: import PlayMaker, still using a blank scene
3: put an fsm doing a very basic rotation or something
4: add other assets one after the other
you need to go trhough these steps to make sure you don't accumulate a series of problems and turn away from the problem due to misleading errors.
Bye,
Jean
-
Has anyone had luck with apple TV? I'd like to try building to mine but I feel like it would be a big time investment.. plus I need to learn about Xcode. Before spending a week on this, vs. say getting touch mobile working.. it'd be cool to know if anyone has had success.
I'd be willing to contribute 1/2 toward getting Alex an apple TV .. If that would help PM diversity as a whole. I've been in a circle trying to find other avenues beyond PC builds and mobile. But if I know that's all I should focus on, I don't have a problem with that. Just seems like the Apple Tv could use more games.
-
"Assets/PlayMaker Custom Actions/RectTransform/RectTransformContainsScreenPoint.cs(10,57): error CS0246: The type or namespace name `FsmStateAction' could not be found. Are you missing a using directive or an assembly reference?"
And many more of them, Apple tv seems to be different enough that playmaker wont run on it. please let me know what i can do to help solve this problem
-
Hi,
Send a direct mail to Alex if you want to contribute to supporting AppleTv. This is a great initiative, thanks for the offer.
Are you using the latest beta from Unity? and have you properly setup the PlayMaker dll platform settings ( select the PlayMaker dll in the plugins folder)?
Bye,
Jean
-
Yes if anyone else wants to help encourage or help Alex get a TV box please PM Alex with a donation offer! He would only need $50 more or so, so even 5 or 10 would make a big difference!
-
Hi,
I made a trello task for people to express their will to donate:
https://trello.com/c/ZJMjnUhY/165-apple-tv-hardware-purchase
Bye,
Jean
-
I picked up an Apple TV, so hopefully we should have an update to fix build errors soon...
-
:) Happy to hear !
and enjoy it 8), It's really nice what unity can do on the big screen.
-
I'm still waiting on a USB C cable from Amazon to deploy to the device, but the build errors all seemed to be with MovieTexture actions. You could try removing those actions to test a build. I'll let you know when I get a build running on the device...
-
Ok, I was able to build to Apple TV. It seems like MovieTextures are not supported yet. I've attached a unitypackage that fixes incompatible actions.
-
Thanks Alex!
This is great :)
-
Hi,
also, now I think this patch is included on the Asset Store version, so try first with the latest verison of PlayMaker.
Bye,
Jean
-
Alex did you deploy on the device without errors?
I just tried building to Apple tv with unity 5.4.0.b7 and Xcode Version 7.3 beta 3
I used playmaker from the asset store and applied the patch you made earlier.
any idea what I could be doing wrong?
PlayerSettings Validation: Requested build target group (15) doesn't exist; #define symbols for scripting won't be added.
UnityEditor.PlayerSettings:SetScriptingDefineSymbolsForGroup(BuildTargetGroup, String)
Assets/PlayMaker/Actions/ActivateGameObject.cs(9,43): error CS0246: The type or namespace name `FsmStateAction' could not be found. Are you missing a using directive or an assembly reference?
-
Hi, yeah I deployed to the device without errors.
From the error it seems like it could be a problem with build platforms defined in the 5.4 beta. You can delete PlaymakerDefines.cs to bypass that error which is probably causing the other errors...
-
I deleted the PlaymakerDefines.cs and that error is no longer showing,
the other errors are still there:
Assets/PlayMaker/Actions/ActivateGameObject.cs(9,43): error CS0246: The type or namespace name `FsmStateAction' could not be found. Are you missing a using directive or an assembly reference?
and a couple more in the list, I will see of I can delete more until the errors stop.
I'm using tvOS 9.2 beta 3, don't know if that has anything to do with it.
I can build to it without playmaker installed.
-
"The type or namespace name `FsmStateAction' could not be found" means the Playmaker dlls are not loaded. Check your plugin import settings. Select Assets\Plugins\PlayMaker\PlayMaker.dll and make sure tvOS is checked.
Are you able to build in 5.3? There could be issues with the 5.4 beta.
-
Yes you are correct, for some reason the tvOS check box was disabled on the playmaker.dll
Thanks for pointing me in the right direction I would not have found it there.
Now it's working :)
I only have a minor warning in the unity console
SetLogCallbackDefined is not allowed to be called during serialization, call it from Awake or Start instead. Called from script 'FsmEditorWindow' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.Application:add_logMessageReceived(LogCallback)
HutongGames.PlayMakerEditor.FsmDebugger:.ctor() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmDebugger.cs:51)
HutongGames.PlayMakerEditor.FsmDebugger:.cctor() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmDebugger.cs:22)
I did delete PlayMakerDefines.cs that cleared up the other warnings.
-
Any Idea how I can remove this warning?
SetLogCallbackDefined is not allowed to be called during serialization, call it from Awake or Start instead. Called from script 'FsmEditorWindow' on game object ''.
See "Script Serialization" page in the Unity Manual for further details.
UnityEngine.Application:add_logMessageReceived(LogCallback)
HutongGames.PlayMakerEditor.FsmDebugger:.ctor() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmDebugger.cs:51)
HutongGames.PlayMakerEditor.FsmDebugger:.cctor() (at c:/Users/Alex/Documents/Unity/Playmaker/Projects/Playmaker.source.unity/Assets/PlayMaker/Editor/Classes/FsmDebugger.cs:22)
-
Has anybody had fortunes with apple TV? I'd like to take a stab at working to mine yet I have a feeling that it would be a big deal venture.. besides I have to find out about Xcode. Before spending a week on this, versus say getting touch versatile working.. it'd be cool to know whether anybody has had achievement.
-
@addonsolutions
Yes I can get playmaker to work quite nicely on apple tv with the latest playmaker beta.