Using Pathfinding causes crash on layout change

Discussion and feedback on Construct 2

Post » Thu Oct 16, 2014 2:54 pm

Hi,

I don't know if this is a known problem or a bug. I use the newest release (r184) and have an enemy sprite with pathfinding in my first layout. After the player passes through a door I use the system -> go to next layout event. But it always stops working at this point and an error message appears. If I delete the enemy sprite everything works normal how it should.

Error:

Code: Select all
<error> eveng.js:1554Condition.run_object eveng.js:1554EventBlock.run eveng.js:866Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886Runtime.executeSingleTrigger preview.js:4243Runtime.triggerOnSheetForTypeName preview.js:4162Runtime.triggerOnSheet preview.js:4094Runtime.trigger preview.js:4071pathFailFn Pathfinding_behavior.js:123pathfinder.findPath pathfind.js:289behinstProto.doFindPath Pathfinding_behavior.js:674Acts.FindPath Pathfinding_behavior.js:780Action.run_object eveng.js:1839EventBlock.run_actions_and_subevents eveng.js:929EventBlock.run eveng.js:886
B
11
S
2
Posts: 213
Reputation: 1,266

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 15 guests