Map check error (also saving problem)

MapCheck: Warning: M_Chair Material /Game/StarterContent/Props/Materials/M_Chair.M_Chair was missing the usage flag bUsedWithNanite. If the material asset is not re-saved, it may not render correctly when run outside the editor. Fix
LogMaterial: Display: Material /Game/StarterContent/Props/Materials/M_TableRound.M_TableRound needed to have new flag set bUsedWithNanite !
MapCheck: Warning: M_TableRound Material /Game/StarterContent/Props/Materials/M_TableRound.M_TableRound was missing the usage flag bUsedWithNanite. If the material asset is not re-saved, it may not render correctly when run outside the editor. Fix
LogWorld: UWorld::CleanupWorld for Minimal_Default, bSessionEnded=true, bCleanupResources=true
LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
LogUObjectHash: Compacting FUObjectHashTables data took 0.34ms
LogUObjectHash: Compacting FUObjectHashTables data took 0.29ms
LogAudio: Display: Audio Device (ID: 1) registered with world ‘Minimal_Default’.
LogChaos: FPhysicsSolverBase::AsyncDt:-1.000000
LogAIModule: Creating AISystem for world Minimal_Default
LogEditorServer: Finished looking for orphan Actors (0.000 secs)
LogUObjectHash: Compacting FUObjectHashTables data took 0.37ms
Cmd: MAP CHECKDEP NOCLEARLOG
MapCheck: Map check complete: 0 Error(s), 2 Warning(s), took 0.091ms to complete.
LogFileHelpers: Loading map ‘Minimal_Default’ took 0.256
LogSlate: Window ‘Message Log’ being destroyed
LogSlate: Window ‘Message Log’ being destroyed
LogSlate: Took 0.000756 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/Slate/Fonts/DroidSansFallback.ttf’ (3848K)

This error appears when I save the program and reload the file. What should I do if all the saved contents disappear and return to the default settings?
I also enabled UsedWithNanite. However, if I press Save, the function is checked again, and even if I turn it off, the same thing happens when I save and exit the program and reconnect.

So to be clear, you get that again after you save?

yes, An error occurs every time I save the program and reload the file. I tried not to operate the nanite function, but the used with nanite button was checked continuously.

You may be experiencing two separate issues, with ultimately one solution.

  1. UE5 is overwriting all changes to files under the StarterContent folder each time the project is reloaded (upon UE5 restart). 2 workaround solutions are described here: https://www.udemy.com/course/unrealcourse/learn/lecture/31757898#questions/18737936.

Solution 1 is to click File > Save Current level As > give a name and don’t save in the starter content folder.

Solution 2 is to delete the following lines from Config/DefaultGame.ini which can be found in your project folder. I believe this prevents the troublesome reinitialization of the starter content.

[StartupActions]
bAddPacks=True
InsertPack=(PackSource="StarterContent.upack",PackName="StarterContent")
  1. Each time you load a project which includes starter content, there are warnings about the M_Chair Material and M_TableRound Material missing usage flag bUsedWithNanite. I don’t fully understand this warning, but solution two seems to solve this issue as well. After removing the code in Config/DefaultGame.ini which reinserts the starter pack content, you can fix the issue with the bUsedWithNanite flags and it won’t keep coming back on restart.
2 Likes

Thank you very much!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms