Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Player Settings crash after instantiating a prefab

Discussion in 'Entity Component System' started by Malja88, Jan 25, 2023.

  1. Malja88

    Malja88

    Joined:
    May 30, 2022
    Posts:
    2
    Hello, dear unity gurus :)

    I ran into a problem. I am making a top down shooter game using ECS. Every time I instantiate a entity prefab on a scene, player loses all his settings, such as Animation, Particles. All the links, which are connected to him. But if I remove a collider from player, it works perfectly. Please take a look. Video below:

    Video -


    I know, that is something wrong with a script, but I don't realise that:(
    If you had such problem, please, help me out ;)