Description
(Incidentally, i am in fact multi-threading, as this is my second thread, sorry xD)
Hey, sorry for being here asking something once again, but since you programmed the plugin it should take you 0.9 secs to help me with something i would struggle with for quite a few hours xD
Sssoo... I'm currently trying to keep a python script open while playing, because it loads some vectors in the RAM and it takes a couple minutes to initialize.
I really can't wait 5 minutes every time i call the script before being able to actually use it xD
The issue here is that whenever i load the python script, of course the game freezes, and even when the script is done loading the game cannot resume because i need to keep it open, and apparently script open = frozen.
What is your suggestion, what options do i have here?
Does this mean that i cannot have multiple actors executing python scripts, or that python scripts that require some time to compute would freeze the game every time?
The best option would be to be able to keep it open in unreal while playing, so that i can load it once when first starting the game, then i can send the script all the data it needs to elaborate without closing it.
It really just has to stay open and idle, no activity whatsoever, until i send it the data to elaborate on.
So basically i think i would just need a way to unfreeze the game once it is done loading, without stopping the script but keeping it idle and ready to go when needed.
So i think there really is no other way other than multithreading.
Grazie tante ancora una volta :D