Search Unity

[Bug] Crash with a fresh project on IOS - 'MonoPInvokeCallback'

Discussion in 'Entity Component System' started by ekaralar, Feb 13, 2020.

  1. ekaralar

    ekaralar

    Joined:
    Jan 13, 2015
    Posts:
    14
    Hello,

    I have created a new project using Unity 2019.3.0f6 under MacOS Mojave.

    Added a simple cube to the scene and included the following packages from the Package Manager:
    Entities preview.11 - 0.5.1
    Burst 1.2.2

    I can build the project fine on Unity as Release. But when I try to run it on iPhone X device with IOS 13.3.1 I am getting the following exception:
    Any idea why this is happening with a simple project?
     
    khalid_mightybear likes this.
  2. ekaralar

    ekaralar

    Joined:
    Jan 13, 2015
    Posts:
    14
    Solved this by adding [AOT.MonoPInvokeCallback(typeof())] s into EntityManagerChangeArchetype.cs file.
     
    JesOb, khalid_mightybear and RaL like this.