smokys
December 1, 2020, 12:37pm
#1
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
Hello @smokys ! Adding a link to your project is better for problems like this.
smokys
December 1, 2020, 3:53pm
#3
Fus_ion
December 1, 2020, 4:29pm
#4
@smokys try detaching the event using this.entity.component.off('event', this.Function, this);
after it’s been touched, possibly that can help.
smokys
December 2, 2020, 12:22pm
#5
This one helped with duplicating objects, but still other bugs remaining and that triggers ignore lines of code or animations
Fus_ion
December 2, 2020, 12:29pm
#6
@smokys can i see the scripts that have bugs
smokys
December 2, 2020, 9:13pm
#7
Its too many of them actually