December 1, 2020, 12:37pm
Hello guys, i tried change levels from tutorial which i made work, but when level is changed some of my triggers doesnt work, also after each bonus level my scene seem to e duplicated or something because there are multiple same objects
when i separately play scene they have no problem, but when i get to the scene through hierarchy change then it has multiple issues
on the picture you can see multiple characters
there is issue in every level, either it doesnt load scripts properly, or waypoints on the map are messed
@smokys! Adding a link to your project is better for problems like this.
December 1, 2020, 3:53pm
December 1, 2020, 4:29pm
@smokys try detaching the event using
this.entity.component.off('event', this.Function, this); after it’s been touched, possibly that can help.
December 2, 2020, 12:22pm
This one helped with duplicating objects, but still other bugs remaining and that triggers ignore lines of code or animations
December 2, 2020, 12:29pm
@smokys can i see the scripts that have bugs
December 2, 2020, 9:13pm
Its too many of them actually