playMaker

Author Topic: GUI text "set property" (offset) action not working on ios  (Read 3517 times)

friendlydog

  • Junior Playmaker
  • **
  • Posts: 65
GUI text "set property" (offset) action not working on ios
« on: July 03, 2015, 08:29:26 PM »
Hi.

this may be a xcode problem, but since the "set property" action is the only way of doing this for me, I'll post here :)

Unity 4.6 (Mac)
setting the offset in the inspector works when compiled to device (iphone 4, iOS 7.1).
but the "set property" action doesnt seem to register when running on the iphone, as I dont get even an error message from xcode either.

The set property (offset) action works fine on PC/android.

Anyone having a similar problem?
:(


friendlydog

  • Junior Playmaker
  • **
  • Posts: 65
Re: GUI text "set property" (offset) action not working on ios
« Reply #2 on: July 04, 2015, 05:25:09 AM »
 :) :) :) :)
thank you for the link! my saturday is saved.

it worked!

here is the solution, in case anyone stumbles over this post: (copied from the above mentioned thread):

The solution is:

-- Switch to PlayMaker Nacl version, which has its network support removed. Go to the PlayMaker/Versions folder and install PlaymakerNACL.unitypackage
-- Remove all networking actions (in PlayMaker/Actions/networking)


1: you have PlayMaker Nacl installed
2: you have micro mscorlib stripping selected
3: you have an GameObject with a GUITexture /*or in my case: "GUIText"*/ component
4: you have an fsm with a "Set Property" action setting a property of that GUITexture/GUIText

5: create a link.xml under your "Assets/" folder with the following content:
<linker>
    <assembly fullname="UnityEngine">
        <type fullname="UnityEngine.GUIText" preserve="all"/>
    </assembly>
</linker>