Also maybe add a
if(WorldContextObject != nullptr){
/// rest of the code here
}
check to the code, so that if you don’t pass in a world context objet it doesn’t crash.
Also maybe add a
if(WorldContextObject != nullptr){
/// rest of the code here
}
check to the code, so that if you don’t pass in a world context objet it doesn’t crash.