LIBTORCH/C++ and Unreal Engine 4 Runtime error: Variable is optimized away and not avaible

Could that be similar to Model cannot be loaded with torch::jit::load? The model exists but cannot be loaded at the moment in my test as well.