Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by rlzh · Jun 01, 2015 at 07:00 PM · iosnetworkingunity5rpcil2cpp

iOS IL2CPP Networking Issues Unity 5.0.x

Just wondering if anyone is running into(or has run into) similar issue where Unity networking features don't seem to be working on iOS devices when built from Unity 5.0.x with IL2CPP.

Build Settings Configuration (Current Unity Version: 5.0.2p3)

  • Scripting Backend: IL2CPP

  • Target Device: iPhone + iPad

  • Target Solution: Native

  • Architecture: Universal

Currently, the networking features in my game are heavily reliant on RPCs. Using the above build settings, I am able to generate and build to an iOS device through Xcode just fine. However, at the point in the game where players need to login (i.e. start using RPCs) the app seems to stop working properly. Judging from the output in the console window in Xcode (I threw in some debug logs before and after the RPC calls just to make sure it was indeed being called) and logging on my server, none of the RPCs sent from the app seem to be reaching the server. Nonetheless, The server does register the app is connected though. There also isn't any error messages being thrown at any point regarding failed RPCs in Xcode's console window. =(

From my research regarding this issue, the majority of posts similar to this problem seem to be regarding Unity 4.6.x. Ideally, I hope it doesn't come the point where I would have to downgrade my project to Unity 4.6.x. Moreover, from the patch notes on Unity's site regarding the 5.0.2p3 patch, there seem to be some fixes regarding RPCs. Unfortunately, as described above, this didn't seem to solve the issue.

All in all, if anyone has had any success building iOS apps with Unity 5.0.x with IL2CPP, any help or suggestions would be very much appreciated!

Cheers

NOTE: When building the project using the Mono scripting backend everything works perfectly fine. But since Mono doesn't support ARM64, I need to get IL2CPP working.

Comment
Add comment · Show 12
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MultivariousDev01 · Jun 01, 2015 at 07:57 PM 0
Share

Seconding this. Obviously 64-bit iOS support had to come out in a big hurry, but I wish there was some clue as to when Networking features will be restored. I hope it's top priority because clients don't really appreciate it when your client-server app suddenly can't be updated anymore.

avatar image Saber7 · Jun 01, 2015 at 10:03 PM 0
Share

I seem to be running into the exact same problem as described. We're hoping the next Unity Patch will fix this, but it sucks having to wait in no man's land. This seems to be a pretty big issue.

avatar image JoshPeterson · Jun 02, 2015 at 02:45 PM 0
Share

If possible, can anyone involved in this conversation submit a bug report with a 5.0 project that we can use to reproduce and correct the errors? I don't think there is anything in the upco$$anonymous$$g 5.0.2p4 patch release which will fix networking problems specifically. At the moment, we're only aware of one $$anonymous$$or networking bug in 5.0, which does not look the same as this one. Thanks.

avatar image rlzh · Jun 03, 2015 at 02:04 AM 0
Share

Thanks. I have submitted a bug report with a simple dummy project attached. reference

avatar image JoshPeterson · Jun 03, 2015 at 01:37 PM 0
Share

@rlzh: Thanks, we wil investigate this.

Show more comments

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Gravijta · Jun 20, 2015 at 06:41 PM

The patch 5.0.3p2 worked very well for me. Thanks Unity team for fixing this!

https://unity3d.com/unity/qa/patch-releases

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JoshPeterson · Jun 22, 2015 at 10:32 AM 0
Share

That is good to hear, thanks!

avatar image
0
Wiki

Answer by MultivariousDev01 · Jun 02, 2015 at 09:16 AM

Small consolation, but I just downgraded our project to 4.6.5p4, and RPC calls appear to work on build. There also weren't really (in our case) any issues with the downgrade, except for the loss of the UnityEngine.iOS namespace.

What this means, I hope, is that the fix for 5 is just around the corner. Perhaps duplicate your project folder and try to downgrade the copy specifically for building out to Xcode? At least then you can just bury it in shame if things go horribly wrong.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rlzh · Jun 03, 2015 at 02:01 AM 0
Share

Thanks the heads up $$anonymous$$ultivarious01, I guess downgrading would be the only option for now.

avatar image
0

Answer by ntsparmar · Sep 19, 2015 at 03:32 AM

My Issue Solved...........!

**Using Unity:**Unity 5.1.1.p1

unity settings

  • Stripping Level :None

  • Script Backend:IL2CPP

  • Target Device: iPhone + iPad

  • Architecture: Universal

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 5.0.2 iOS IL2CPP Networking RPC Issues 1 Answer

Send a Pause RPC on OnApplicationPause 1 Answer

Forge Networking Remastered iOS Build Error 1 Answer

ClientRPC not getting sent. 0 Answers

NetworkLobbyManager causes iOS builds to crash 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges