multiple ChucK VMs in Unreal is unstable
Closed this issue · 2 comments
gewang commented
instancing multiple ChucK (VM/main) instances in Chunreal is unstable. It appears capable of running with audio, but will crash. Possibilities:
- bug with certain global variables shared across VMS (something that Jack and I didn't catch in numchucks; or something added since)
- there is still occasionally a bad memory dealloc upon ChucK VM cleanup it is possible when any VM is deleted, it may be corrupting memory. Need to investigate ChucK deallocation starting with ChucK::~ChucK() with logging enabled etc.
- a bug we may have introduced during #chureal refactor
gewang commented
do we feel confident enough to close this, as least for now? @eitomurakami
eitomurakami commented
Yes I think so! Closing now @gewang