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.

Bug Player Settings crash after instantiating a prefab

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

  1. Malja88


    May 30, 2022
    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 ;)