Projectiles won't shoot in HTML5 export

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By gsrouvas

Has anyone experienced anything similar that might offer any hints as to why this is happening?

I exported a game I’m developing for beta testing, uploaded it on a number of platforms, but in every single case, the projectiles my player shoots simply won’t appear.

The game logic is there, in the sense that when I am colliding with an object, if I shoot, the object gets destroyed.

However, when in distance, I can’t destroy anything, because the logic is expecting the projectile to enter the object’s area2d.

The .exe export works seamlessly.

Really buffling situation.

You mean that the projectile is not instantiated or just not visible? It would help to have a minimal projects to reproduce that.

MrEliptik | 2021-03-20 21:14

:bust_in_silhouette: Reply From: ClumsyDog

Try exporting with debug. Godot works weirdly sometimes when exporting, but when I exported with debug it works like it does in-editor.