Hello everyone. I need help. I suddenly got an error when I previewed my game in Gdevelop. Please note that this game is already almost near to publishing. This code was working recently and working in my .aab file in my closed testing. But suddenly I got this message
I don’t remember if I changed anything that may affect to this particular event. And I have no idea how to fix it. Can anyone please enlighten me.
This is one of the error
This event is for enemies to detect player by point “raycast” so it would trigger an attack animation and hit the player. Everything was fine then this error pops
I’m wondering if it’s detecting the optional x and y variables for the intersect point in the raycast as being missing or invalid.
Is there anything else that is red or underlined? Does the object and the object point named “aggro” still exist.
Right? isn’t it ok to leave it blank? Before, I didnt get any invalid parameters for it. But now it has so many. Now Im worried it might affect game performance
Everything exist. Nothing changed at all
What about the grappling hook is pressed error?
No, I know that one error. Already fixed it, only the ray cast problem i have
I just tested it on my phone. I get the same message. Although, for me it didn’t show the diagnostic screen until I created another error. A real error. I added an object (toggle4), added a condition and then deleted the object. It also shows invalid parameters for the Rectangular flood fill even though they have default values.
When you removed the real error did the diagnostic screen still show up. For me it only shows if there’s also a real error. I always thought the variables for the raycast are optional.
this will sound really dumb but have you restarted gdevelop?
Just like Keith said, after I removed real errors, it stopped showing. Thank you for the help everyone
1 Like