Game Breaking Forge Bugs (Scripting) 343 PLS READ

So earlier today, I was scripting a parkour map. This parkour map involved the use of scripts, including moving objects, rotating objects, and spawning. However, when I was deep inside of a forge game, I noticed items that have started to move. These items did not have scripts at all. Random walls, buttons, and other items started to move and rotate randomly, even though they DO NOT HAVE SCRIPTS which command them to move. The buttons have a simple script which toggles power, while the walls have no scripts whatsoever. I thought that the simplest solution for this glitch would be to delete and replace the items with new, fresh items. However, when I put these new items in the same spot as the old ones, they would start moving again after a match or round started.

Another one of the bugs that REALLY annoyed me was the respawning/spawning bug. I would script a button that would toggle power, which resulted in items respawning and spawning. This script worked perfectly for some items, and didn’t work at all for others. Some items wouldn’t respawn, even if they were copied from an item that actually worked. I’ve noticed that the closer the button is to that item, the less often it will actually spawn. I noticed this because I put down items in one area with a spawn/respawn script (near the button) and they didn’t respawn. However, when I moved the button to test another part of the map, the items previously placed near the old button (which was deleted) started to work perfectly, while the new items that I was testing (which was near the new button) wouldn’t respawn. This bug alone takes away a vast majority of the ideas that I had for a new map.

343industries please fix these bugs. I have a few maps that have a lot of potential, but they just don’t work properly!
If you have any questions, or need me to clarify on some things, reply or message me on Xbox Live!

The first bug that you described seems to be a fairly common problem. It seems to be an issue with orphaned scripts. If you delete or replace an item that had scripting on it, the script likely didn’t get deleted, and is now floating out there in the ether. These now orphaned scripts seem to really want to find a new parent, and will latch on to any random object on the map. You can delete the object, save the map, restart forge, and replace the object, but the orphan will seek out a new parent object, and so a different object will likely start to behave as though it has a script. The best way to ensure that you don’t end up with orphan scripts is to delete the scripting from an object before deleting or changing the object, and even that doesn’t seem to be a sure-fire method. I do hope that 343 will resolve this issue shortly. I love the idea of scripting, but right now it tries to break all the maps I build.

One temporary fix to your moving walls is to change the channel of the power. The Orphaned script will still be looking for the old channel, but you can set the desired objects to look for the new channel.

Im having the same issue. Except now the objects are dissapearing for no reason. NO SCRIPTS OR ANYTHING. Also when i finally get everything to work properly i go to customs and everything in round 1 seems to work fine, but then when round two starts everything goes wrong with the scripting im almost positive i have the right settings on too. Plz fix this 343 im unable to release my map because of this.