Author Topic: Localization Throws Exceptions on Arm7 devices  (Read 1486 times)

enkiduo

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Localization Throws Exceptions on Arm7 devices
« on: March 23, 2015, 02:41:35 PM »
NGUI 3.7.1 + Unity5

Its throwing a variety of exceptions when I try to push universal builds through xcode to arm7 devices.

If I build just for arm7 architecture it works, if I do Universal it fails.

Failing line :
       returnEncoding.UTF8.GetString(buffer, start, count);

Buffer is the textasset.bytes property coming out of a .csv file containing english / chinese localized text.

Is there some complexity in how these assets are packed I am unaware of?  Something 32/64 bit?

We are also getting exceptions encrypting / decrypting player data - which is also text stored as raw bytes.

Any thoughts?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Localization Throws Exceptions on Arm7 devices
« Reply #1 on: March 24, 2015, 10:29:40 AM »
3.7.1 is old, did you try updating first? I'd also need to know the actual exceptions.