Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Unity3d ECS system does not auto initialize the world on iOS devices for new projects

Discussion in 'Entity Component System' started by mukultictoc, Sep 25, 2018.

  1. mukultictoc

    mukultictoc

    Joined:
    Sep 24, 2016
    Posts:
    15
    Hello All,
    Getting a weird null reference exception on World.Active. The world is not initialized on iOS devices. AutomaticWorldBootstrap might not be running for some reason. I have filed a bug report here : https://fogbugz.unity3d.com/default.asp?1084404_vfqcoh8834jfkakd
    Case number : 1084404
    Seems like it is happening on newer projects and only on the device. The editor and android builds seem to be working properly with the exception of iOS builds. Is anyone getting the same issue with the latest preview package for ecs?

    ECS package info :
    {
    "com.unity.entities": "0.0.12-preview.15",
    }
     
  2. 5argon

    5argon

    Joined:
    Jun 10, 2013
    Posts:
    1,554
    Hi. I think this is the same issue as one of my previous case (1070862). This is their reply :

     
    waxx, optimise, Adam-Mechtley and 3 others like this.
  3. mukultictoc

    mukultictoc

    Joined:
    Sep 24, 2016
    Posts:
    15
    Wow...Thanks a lot for that solution. @5argon