calling GetWorld() crashes Editor ?

I Get Access Violation Error after loading an other World

image

the Error :
image

This can be caused by multiple issues:

  • You can try to load the new world in a fresh project to see if the problem is specific to the current project.
  • Check for any error message in the output log of the engine, it will give you more information about the problem.
  • If you’re using any asset from the marketplace or from third-party providers, try to remove them and see if the issue persist.
  • If the problem persist, you may want to contact the game developer’s support team or Unreal Engine support team for further assistance.

Also, Make sure you have the latest version of the engine and all its dependencies. Sometimes updating the engine or other dependencies to the latest version can fix the issues.