Столкнулся с проблемой infinity loop detected, как решить…
помогите плиз, я чайник
Hey there @Coil228! Welcome to the community! If the infinite loop is spawning a new wagon infinitely, you may be able to avoid it by setting your Has Spawned boolean as the actor is spawned. However if this actor and it’s component TriggerEnd is part of a wagon, it could still spawn at least one more thus continuing the cycle.
That and you aren’t checking what the TriggerEnd is colliding with, so if it collides with anything at all, (for example the ground, another component, etcetera) it will always spawn another.
