Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upCrash changing map after PIE #236
                
  
   Open
            
            
          Comments
      
        
              This comment has been minimized.
        
        
      
    
This comment has been minimized.
| 
           Can you register a pull request?  | 
    
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
            
Possibly started in 4.21
Playing in a map results in the map's blueprint generated class being added to the JavascriptIsolate's ClassToFunctionTemplateMap. Since this is never cleaned up, changing the map results in an assert / crash that the previously loaded map is not garbage collected.
Crash log:
Local fix that seems to work for me so far, in UJavascriptComponent::BeginDestroy(),