Infinite Error on IOS build.

Forums 💬 NodeCanvas 🗨️ General Discussion Infinite Error on IOS build.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14059
    jhorikawa
    Participant

      Hi,

      I’m using Unity 5.4.1p3 and NodeCanvas 2.6.0b and I’ve got a following error when I build the app for IOS device which seems to be related to NodeCanvas. It works on fine on Unity Editor but once it’s been built for IOS it won’t work any more.

      What seems to be the problem and is there any way to fix this issue?

      Just for your info I have already generated AOTClasses.cs and the script backend is IL2CPP.

      Thank you,

      #14065
      jhorikawa
      Participant

        After debugging for while I found out that these errors occurs whenever I use Check CSharp Event for Decorator in Common section. Is this a bug or is there any specific way to use CSharp Event for IOS device?

        #14064
        Gavalakis
        Keymaster

          Hello,

          Hmm. I will investigate this further to see what might be the issue here. Does this work with Mono backend?

          #14063
          jhorikawa
          Participant

            I haven’t tried with mono backend since I believe I have to use IL2CPP in order to submit to the app store.

            #14062
            Gavalakis
            Keymaster

              Hello again,

              Please try and open up CheckCSharpEvent.cs script and change the code starting in line #45 to the following:

              Also please do the same in line #136 for the generic version of the task:

              Please let me know if everything works after this change.
              If you need any help with applying those changes, let me know and I can send you the full script to your email.

              Thanks!

              #14061
              lhubermonarc
              Participant

                Hey Guys,

                Sorry to resurrect an old thread, but did you ever figure out the cause of this null reference? I am having the same issue and I have applied your code changes above. I am currently running on Unity 5.4.2 and Node Canvas version 2.6.0b.

                Thanks.

                #14060
                Gavalakis
                Keymaster

                  Hello,
                  No problem. Are you referring to error in iOS when using CheckCSharpEvent like the OP post stated?
                  Can you please try and make the method “Raised” in CheckCSharpEvent.cs public (it’s private right now) and let me know if that helps?
                  Thanks in advance.

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.