Search Unity

Crash iOS - Unity 2019.2 - ConvertUTF16toUTF8

Discussion in 'iOS and tvOS' started by y0rshl, Jul 17, 2020.

  1. y0rshl

    y0rshl

    Joined:
    Jul 12, 2013
    Posts:
    20
    Hi Unity devs!

    I have a rare issue that I cannot reproduce nor build a test case but has the following stack trace:

    Crashed: com.apple.main-thread
    0 bloodandhonorlite 0x104a50038 core::contiguous_iterator<unsigned char> utf8::unchecked::append<core::contiguous_iterator<unsigned char> >(unsigned int, core::contiguous_iterator<unsigned char>) + 54 (unchecked.h:54)
    1 bloodandhonorlite 0x104a4fd34 core::contiguous_iterator<unsigned char> utf8::unchecked::utf16to8<unsigned short const*, core::contiguous_iterator<unsigned char> >(unsigned short const*, unsigned short const*, core::contiguous_iterator<unsigned char>) + 177 (unchecked.h:177)
    2 bloodandhonorlite 0x104a4fcb8 ConvertUTF16toUTF8(unsigned short const*, int, unsigned char*, int&) + 33 (UTF8.cpp:33)
    3 bloodandhonorlite 0x104c7638c scripting_cpp_string_for(ScriptingStringPtr) + 56 (ScriptingApi_Il2Cpp.cpp:56)
    4 AudioCodecs 0x1bf84e388 ACSBCEncoder::produceOutputPackets(void*, unsigned int&, unsigned int&, AudioStreamPacketDescription*) + 1328

    Any ideas what it could be or how could I track the source of the problem?

    Thanks!
     
  2. ft_cjy

    ft_cjy

    Joined:
    Sep 28, 2020
    Posts:
    2
    the same problem
     
  3. monda

    monda

    Joined:
    May 14, 2015
    Posts:
    35
    I just got this, never happened to me but several users got this crash, did you solve it?
     
  4. StarkCheng

    StarkCheng

    Joined:
    Mar 27, 2020
    Posts:
    3
    the same proble. I used Unity 2019.2.17f1, did you solve it?
     
  5. y0rshl

    y0rshl

    Joined:
    Jul 12, 2013
    Posts:
    20
    Update to the latest 2019.4.x
     
  6. ktsutsui

    ktsutsui

    Joined:
    Aug 21, 2019
    Posts:
    1
    I'm facing the same issue. Any update?
     
  7. y0rshl

    y0rshl

    Joined:
    Jul 12, 2013
    Posts:
    20
    I had solved it by updating but it reappeared again. Seems to be related to Arabic
     
  8. zudesai

    zudesai

    Joined:
    Sep 26, 2022
    Posts:
    4
    I am also facing the same issue, any idea what is the fix for this?