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 - braintapgames

Pages: [1] 2
I actually was able to get it to work by saving and restarting my Unity. So it's a bandage for it temporarily I guess.

I'm attempting to use the Xml Get Next Node List Properties action, but it keeps giving me a NullReferenceException error stating that an "Object reference not set to an instance of an object." I am using the reference "Question" in the "Xml Select Single Node" where it says to store reference, but it's not able to find it. Any help?

I'm trying to use the Xml Get Next Node List Properties to quickly loop through properties of an XML, but pressing the "Get a Property" button does not work (does not do anything). I'm currently using Unity 5.0.

PlayMaker Help / Re: Just a few Datamaker questions
« on: January 29, 2016, 04:07:04 PM »
I believe if you just add "/answer" you'll get the property of the answer node:


Have you tried that?



Right, but does that mean I'll have to do two separate xPath queries or is it possible to get both the "answer" and a random "question" in one action?

PlayMaker Help / Just a few Datamaker questions
« on: January 29, 2016, 12:53:39 PM »
So I'm working on a quiz game at the moment and have been researching a lot about Datamaker. I came across this thread which has helped a lot, but I have a few more questions if anyone could help:
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<Level Name="01" Max="12">

Using the example that OP gave, let's say I used:
Code: [Select]
and it gave me "2+2" for the question. How do I also save the answer (which is "4") as well? Do I need to do the xPath query again in another Select Single Node action? Or is there another way to do this with Select Nodes? Or perhaps through the properties?

If I stop at
Code: [Select]
/root/Level[@Name="01"]/card[1]how do I get the property of "answer" and still set it to get a random "question" from this action?

Any help would be appreciated. Thanks in advance!

PlayMaker Help / Re: Unity UI vs nGUI
« on: October 07, 2015, 05:19:05 PM »
I would highly recommend uGUI since it's easy to learn and Unity supported (plus it's free). That coupled with the uGUI proxy package from Playmaker, it's even simpler (watch the tutorials for more info).

PlayMaker Help / Re: Saving Coin Collection Problem
« on: October 07, 2015, 05:14:44 PM »
Not sure if I'm reading it correctly, but there should be a spot somewhere at the start of your scene that gets the PlayerPref Int and saves it to a variable too. Otherwise, it may only be looking for a variable that's a 0 at the start of your scene.

PlayMaker Help / Arraymaker Samples?
« on: October 07, 2015, 03:47:44 PM »
Just dove into Arraymaker, but could not locate the samples that people mentioned included Simon Says and the wordmatch. Have these been removed? Is there anywhere else that I can download these?

PlayMaker Help / Re: Google Play plug in (now unsupported)
« on: October 07, 2015, 05:39:33 AM »
I've been using Stan's Assets (Android Native/iOS Native) and it's all pretty straightforward and also has Playmaker actions.

You do have to pay for it though.

PlayMaker Help / Re: Link.xml works on Unity, but not on iOS device?
« on: September 28, 2015, 04:48:19 PM »
Upon further inspection, it seems to be only the BoxCollider2D (maybe sprite also) that isn't working. The specific function that isn't working looks like BoxCollider2D isTrigger. I also tried updating unity and Xcode, but that didn't fix it.

Is it perhaps that part of the link.xml that is the issue? Thanks again for the help.

PlayMaker Help / Re: Link.xml works on Unity, but not on iOS device?
« on: September 28, 2015, 05:08:58 AM »
The ones that I can tell so far that isn't working is the BoxCollider2D and the UI.Button.

When you say errors in xcode, you do mean when I make the build, correct? I only get a few warnings, but no errors. There were no errors on Xcode 6.3.2 (which I was originally using). There was an error when I tried updating to Xcode 7 (linker command failed with exit code 1) so I had to disable bitcode to make it work.

Are there general things I could also try, like using a different version of Unity and such? (about to update and see if that changes anything)

PlayMaker Help / Re: Link.xml works on Unity, but not on iOS device?
« on: September 26, 2015, 11:52:37 AM »
Can you post the generated link.xml file? Maybe there's an error in the xml.

Also check for a duplicate link.xml in the project. Maybe Unity is using the wrong file...

Are there errors in xcode when you run on iOS?

@Budde88 - I followed it exactly as well. It generated the link.xml just fine and it works on Unity. However, it doesn't work on iOS for some reason.

@Alex Chouls - There is no duplication and the only xcode errors are the same Semantic issues it had before I switched from Mono 2x to IL2CPP. Here is the link.xml:

  <assembly fullname="UnityEngine">
    <type fullname="UnityEngine.SpriteRenderer" preserve="all" />
    <type fullname="UnityEngine.BoxCollider2D" preserve="all" />
    <type fullname="UnityEngine.Camera" preserve="all" />
    <type fullname="UnityEngine.GameObject" preserve="all" />
    <type fullname="UnityEngine.Canvas" preserve="all" />
  <assembly fullname="UnityEngine.UI">
    <type fullname="UnityEngine.UI.Image" preserve="all" />
    <type fullname="UnityEngine.UI.Button" preserve="all" />
    <type fullname="UnityEngine.UI.Text" preserve="all" />

PlayMaker Help / Link.xml works on Unity, but not on iOS device?
« on: September 26, 2015, 06:32:06 AM »
I thought I should make my own post rather than just jean's topic just in case anyone might have a solution to this issue.

Here's what's going on - I used the Linker Wizard to create a link.xml for IL2CPP. It works perfectly fine on Unity, but once I build it, all of the elements that should work do not. Things such as UI and BoxCollider2D do not seem to utilize the Set Property action the way that it should.

Does anyone possibly have a solution to this issue? Am I missing a step to implement the link.xml into the project/build? Thanks for any help that you can give.

So I found the issue - two set property actions were left blank. Once I removed them, I didn't get the NullReference issue anymore.

However, I'm still having the same issue - the game works fine on Unity, but once it builds to an iOS device, it doesn't work again. The things the link.xml should cover, such as boxcollider2D and UI elements do not work.

iOS Help / Re: Fixing IL2CPP linking errors
« on: September 24, 2015, 10:42:52 PM »

 try not to double post please, I replied on the other thread :)



I deleted the post on this thread. They were two separate issues, but I repaired one part of the problem which led up to the other part in the other post. Thanks again for your help!

Pages: [1] 2