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. Dismiss Notice

[Bug] ECS disappearing Entities

Discussion in 'Scripting' started by howaboutno000, Dec 7, 2020.

  1. howaboutno000

    howaboutno000

    Joined:
    Nov 13, 2020
    Posts:
    20
    This is related to my other thread where I encountered an issue where cubes disappeared out of my view. I've finally boiled it down to the smallest bits.

    I've created a new scene with simplest possible demo which spawns entity cubes in random positions around 0, 0, 0. There is a zip in the attachments. Copy the files into a new project, make sure you have ECS in packages then open the scene in Scenes folder. The entity cubes around spawned all around 0, 0, 0, I put cube "LookHere" there for position reference. Take a look around, rotate your Scene View. You will see that entities are consistently disappearing but for no obvious reason. It's all standard settings, nothing has been changed.
     

    Attached Files:

  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    howaboutno000 likes this.
  3. howaboutno000

    howaboutno000

    Joined:
    Nov 13, 2020
    Posts:
    20
    Will post over there, thanks.

    As for zip, its kind of hard to just post code, because its the entire project. The code itself comes from a video tutorial where the code works, but there's just a weird set of circumstances which make it bug out, which can only be expressed through scene files.
     
    Joe-Censored likes this.