f111fei / react-native-unity-view

Show an unity view in react native
MIT License
402 stars 102 forks source link

GetCloudProjectId crashes with Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) #106

Closed tffalls closed 5 years ago

tffalls commented 5 years ago

I am getting a Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) at GetCloudProjectId when I build my project from XCode to run it on my iPhone 6 (physical device).

I have looked at the solution to a related issue already on here (#84), but my Info.plist file already has the correct UnityCloudProjectID.

Does anyone know what could be causing this issue?

Unity Version: 2018.1.9f2 React Native Version: 0.57.2

ziyoshams commented 5 years ago

I don't use GetCloudProjectId, but most of the issues surface from using different Unity Versions. Use 2018.2.17 version. Download from here: https://unity3d.com/get-unity/download/archive

tffalls commented 5 years ago

@ziyoshams Unfortunately changing my Unity version ends up with the same error, thanks for the suggestion though

aflahkp commented 3 years ago

Hi @tffalls could you find any solutions for this issue. Any updates would be really helpful. Im getting the same error with Unity 2019.4 with UnityColudProjectID added in Info.plist.