Background Part Loader / Destroyer causing game to crash

Hey everyone,

Hope you can help me here! I am starting on my journey in Unity and appreciate any help!

Context: Working on a basic endless scroller, with 3 preset background images which load/delete depending on the player position.

Issue: Currently, this seems to be behaving strangely, either spawning loads of images behind the player position, or just causing unity to crash.

I am using Bolt, but if you could help in C# maybe I can translate that to bolt.

Also, I have a StartPoint and EndPoint set up on the 3 background prefabs.

Please see images here (including variables):

This has been solved :slight_smile: