POST BODY:
A TMap where the key is an FString can be created like so:
```
TMap MyMap =
;
```
3. close unreal engine
4. compile your code
5. launch the project. The project's module will fail to load. The error message you receive will be: "The game module 'MyProject570' could not be loaded. There may be an operating system error, the module may not be properly set up, or a plugin which has been included into the build has not been turned on."
Compile-time error. If that isn't possible then a check being hit would be helpful.
Project module fails to load. Unhelpful error message is shown. Logs are of no help.
5.7
Windows
Tested in 5.7. I did not try 5.8.
Happens whether FString is key or value.
Causes crashes anytime the code is executed. I chose static variable initialization time because that is the most difficult to debug, to show a case that could cause some engine users to lose a lot of time trying to debug.
It would be a good idea to update that error message so that it asks users to check static variable initialization for any errors.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-394884 in the post.
| 0 |
| Component | UE - Core - Systems |
|---|
| Fix Commit | 57675625 |
|---|
| Created | Sep 2, 2026 |
|---|---|
| Resolved | Sep 2, 2026 |
| Updated | Sep 2, 2026 |