Hello makers,
testing my educational game I encountered the error shown in the image attached: it happens when starting a battle. I searched the forum and I found this "Cannot read proprerty..." error is quite common, so tried the solution I found: I updated the plugins, and the project too. But the problem is still there.
At this point I suppose that the problem is related to a specific resource/sprite/etc... but I can't understand which one.
Is there a way to figure it out what's causing the problem?
Thanks in advice for the help, and happy making to everybody!
EDIT: just found something strange: error is caused by a Troop (quite obvious, I found which one by disabling the others one by one), strange is that the Troop is perfectly configurated (I have many other quite identicals). Also, copy-and-pasting the Enemy and Troop in different positions will make the battle start, but with no Enemy sprite image (battle immediately ends with a victory). And this happens also when changing the troop enemy image with a working one...
I'll continue working on my project just marking these "problematic" Enemy and Troop lines as DEAD, and making again the same Enemy and Troop from scratch on blank lines, still I would like to know how to solve the problem just to avoid it in the future.
Does any of you experienced makers have any suggestion?
testing my educational game I encountered the error shown in the image attached: it happens when starting a battle. I searched the forum and I found this "Cannot read proprerty..." error is quite common, so tried the solution I found: I updated the plugins, and the project too. But the problem is still there.
At this point I suppose that the problem is related to a specific resource/sprite/etc... but I can't understand which one.
Is there a way to figure it out what's causing the problem?
Thanks in advice for the help, and happy making to everybody!
EDIT: just found something strange: error is caused by a Troop (quite obvious, I found which one by disabling the others one by one), strange is that the Troop is perfectly configurated (I have many other quite identicals). Also, copy-and-pasting the Enemy and Troop in different positions will make the battle start, but with no Enemy sprite image (battle immediately ends with a victory). And this happens also when changing the troop enemy image with a working one...
I'll continue working on my project just marking these "problematic" Enemy and Troop lines as DEAD, and making again the same Enemy and Troop from scratch on blank lines, still I would like to know how to solve the problem just to avoid it in the future.
Does any of you experienced makers have any suggestion?