Does the issue occur in the editor or during gameplay?
gameplay
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
Happens on all modes
Briefly describe the issue you're experiencing:
A On Death script placed on a real-time attackable enemy, with a load_map command as part of it, will not load the map and remain on the loading screen, with the error pictured below in the terminal window.
Are there any errors in the in-game debug console or external console window?
Provide the steps necessary to reproduce the issue:
- Create a script with a "load_map()" command
- Assign that script to the On Death event of a Real-Time Attackable NPC
- Quick Play and kill the NPC
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):