I sometimes run into this issue where trying to access an array that doesn't exist will crash edrt.exe.
It occurs when I Clear & Destroy and then Re-Create Array objects. This is in order to empty them completely, as just using Clear will keep the old dimensions. Trying to destroy an Array if it doesn't exist will cause this crash. I tried to create two lines of code to avoid this:
But of course, these events also seem to access the object in a way and thus also cause a crash. This isn't really a major issue as it's easy to keep track of when the arrays need to be destroyed & re-created. I'm just curious as to whether it's a known problem.
Is Array #Objects > 0?:
- Clear Array
- Destroy Array
Is Array #Objects = 0?:
- Create Array