- Joined
- Apr 21, 2024
- Messages
- 19
Hi there, I am working on a map in the world editor and sometimes get an error like this when I try to play the map:
"This application has encountered a critical error. FATAL ERROR! ... The instruction at ... reference memory at ... The memory could not be read"
I haven't seen the error come up in previous iterations of my map before and when it does come up it does so at unpredictable times. Between the last time my map was working and now I have added a lot of features so I don't really know what could be causing the issue. These are the most significant triggers I added since the last time the map worked properly:
But the moments when the error occurs don't necessarily correspond to the events that cause these triggers so I'm sort of at a loss. I tried adding a custom script to the Bonus Round Loop trigger to destroy the unit group created in the if condition of said trigger (I understand that conditions like the one above cause memory leaks otherwise), but I couldn't get my map to "compile" with the custom script there so I deleted it for now. Does creating and removing a custom script have some sort of residual effect that I haven't cleaned up? Are there any other common mistakes that can lead to this error or other issues you've noticed?
I know that this is a bit of a long shot since I don't have much experience with this so I don't really know what info to provide, but if anyone has any suggestions I'd really appreciate it. Thanks!
"This application has encountered a critical error. FATAL ERROR! ... The instruction at ... reference memory at ... The memory could not be read"
I haven't seen the error come up in previous iterations of my map before and when it does come up it does so at unpredictable times. Between the last time my map was working and now I have added a lot of features so I don't really know what could be causing the issue. These are the most significant triggers I added since the last time the map worked properly:
But the moments when the error occurs don't necessarily correspond to the events that cause these triggers so I'm sort of at a loss. I tried adding a custom script to the Bonus Round Loop trigger to destroy the unit group created in the if condition of said trigger (I understand that conditions like the one above cause memory leaks otherwise), but I couldn't get my map to "compile" with the custom script there so I deleted it for now. Does creating and removing a custom script have some sort of residual effect that I haven't cleaned up? Are there any other common mistakes that can lead to this error or other issues you've noticed?
I know that this is a bit of a long shot since I don't have much experience with this so I don't really know what info to provide, but if anyone has any suggestions I'd really appreciate it. Thanks!