Forum

Results 1 to 2 of 2

Thread: Unity iOS crash

  1. #1
    Join Date
    September 2018
    Posts
    4

    Unity iOS crash

    Hi,

    Im facing 2 issues on Unity3d teamspeak plugins "Minimal_Mobile" example scene.

    My environment:
    TeamSpeak Unitypackage: TeamSpeak_SDK_3.0.4_2017_05_17_Unity3D_5.unitypack age
    Unity3d: 5.6.1f1
    Xcode: 9.4.1
    iOS target: 8.0

    Issue 1
    "Scripting Backend" set to "IL2CPP", app crash.
    When my unity build settings "Scripting Backend" set to "IL2CPP", and run in iOS device it crash. (Replication 100%)
    Crash happen when I try to:
    1. Click "Connect to Server"
    2. Click "Disconnect from Server"
    3. Click again "Connect to Server"
    4. Crash

    Here is the debug log from xcode:
    Crash stackflow
    Name:  Screen Shot 2018-09-05 at 2.36.58 PM.png
Views: 63
Size:  224.9 KB

    Stopped on this function: (il2cpp-codegen.h: line 711)
    Code:
    inline Il2CppMethodPointer il2cpp_codegen_marshal_delegate(Il2CppCodeGenMulticastDelegate* d)
    {
        return (Il2CppMethodPointer)il2cpp::vm::PlatformInvoke::MarshalDelegate((Il2CppDelegate*)d).m_value;
    }
    Note*: No problem on "Scripting Backend" set to "Mono2x", but iOS 11 doesn't support Mono2x. Can TeamSpeak 3 support "IL2CPP"?

    Issue 2
    "Failed to send capture data" keep showing on Xcode console log.
    When client in disconnected status from server, "Failed to send capture data" keep logging on xcode console.
    I found this message from "AudioDelegate.m" > "processAudioFromMicrophone".
    Can the function remove the delegate if disconnected status?

    Thank you.

  2. #2
    Join Date
    September 2018
    Posts
    4
    Hi guys,

    Finally I solved my issues with upgrade my unity project to Unity 2018.2.0f1, everything work fine.

    Note: Unity 2017 would crash too, its better to use latest Unity.

    Thank you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 3D Voice in Unity SDK not working
    By ehill in forum Game Engines
    Replies: 3
    Last Post: April 11th, 2017, 04:20 PM
  2. Unity C# SDK: onEditPlaybackVoiceDataEvent
    By Psiku in forum General Questions
    Replies: 3
    Last Post: July 11th, 2016, 08:57 AM
  3. Unity Integration possible?
    By DonSlaughter in forum Linux
    Replies: 0
    Last Post: May 7th, 2016, 03:59 AM
  4. [Resolved] Does TeamSpeak integrate with Unity 3D?
    By jclbrs in forum General Questions
    Replies: 2
    Last Post: October 18th, 2012, 10:52 AM
  5. unity 3d 3.3
    By moghazy in forum Client Support
    Replies: 0
    Last Post: July 11th, 2011, 08:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •