Skip to content

Master Bundle Troubleshooting

Master bundles are the primary asset packaging system in Unturned™. A single MasterBundle.dat declaration controls the entire content tree for a mod, pointing to a .masterbundle file that contains all the Unity assets (prefabs, textures, materials, audio clips) that the mod uses. When a master bundle fails to load, every asset that depends on it fails as well. The cascading nature of master bundle failures makes them some of the most impactful errors in mod development: a single misconfigured MasterBundle.dat file can cause an entire mod to appear broken.

57 Studios™ has documented and validated the complete master bundle troubleshooting surface. This reference covers the common failure scenarios (missing bundle file, wrong version, incompatible Unity version, corrupted bundle), the cascading failure pattern that propagates from a single master bundle error to every dependent asset, the diagnostic process for tracing master bundle errors in log files, and the resolution paths for each failure type. The reference is based on empirical analysis of the shipped Bundles/core.masterbundle (117 MB binary) and the MasterBundle.dat files that control bundle loading.

Master bundle file structure in the Unturned Bundles directory

Documentation source: This article references the official Smartly Dressed Games modding documentation for the Asset Bundles chapter (98 lines), combined with empirical analysis of the shipped Bundles/MasterBundle.dat and Bundles/core.masterbundle files. Community-validated troubleshooting patterns from the 57 Studios cohort are marked where the official documentation is silent on a detail.

Who this article is for

This troubleshooting reference is written for Unturned™ mod authors and server operators who are diagnosing mod loading failures that trace back to master bundle issues. If you are new to the master bundle system, start with Master Bundle Export before returning here.

What you will learn

  • The common master bundle failure scenarios and their symptoms
  • How a single master bundle failure cascades to every dependent asset
  • How to diagnose master bundle failures from log file entries
  • How to resolve each master bundle failure type
  • The decision tree for master bundle failure diagnosis
  • How version mismatches between Unity build versions cause failures

How master bundles load

When the engine loads a mod directory, it checks for a MasterBundle.dat file at each level of the file hierarchy. If a MasterBundle.dat is found, the engine reads its Asset_Bundle_Name field to locate the corresponding .masterbundle file. If the bundle file is found and loads correctly, all assets in that directory and below use the master bundle. If the bundle file is not found or fails to load, all assets that depend on it are skipped.

As shown above, a missing master bundle file causes all dependent assets to fail. A version mismatch may or may not cause a failure depending on the specific version difference.

MasterBundle.dat fields

FieldTypeExamplePurpose
Asset_Bundle_Namestringcore.masterbundleName of the asset bundle file in the same directory as MasterBundle.dat
Asset_PrefixstringAssets/CoreMasterBundlePath to the asset bundle within Unity. Unity subfolders should match 1:1 with .dat subfolders
Asset_Bundle_Versionint3Indicates which Unity version this bundle was built for

Common failure scenarios

Missing master bundle file

The MasterBundle.dat declares an Asset_Bundle_Name value, but the corresponding .masterbundle file is not present in the directory.

SymptomLog entryCause
All mod items are invisible or missingCould not find master bundle MyMod.masterbundleThe .masterbundle file was not copied to the mod directory

Fix: Copy the .masterbundle file to the same directory as MasterBundle.dat. Verify the filename matches exactly, including case.

Unity version mismatch

The Asset_Bundle_Version field indicates which Unity version the bundle was built for. If the version does not match the current Unturned runtime version, the bundle may fail to load or may load with degraded functionality.

Version valueUnity versionNotes
1Unity 5.5Legacy; limited support
2Unity 2017.4 LTSOlder; some features may not work
3Unity 2018.4 LTSCurrent baseline for many mods
4Unity 2020 LTSCurrent; recommended for new mods
5Unity 2021 LTSLatest; recommended for new mods
6Unity 2022 LTSLatest; may not be supported by all Unturned versions

Fix: Rebuild the master bundle using the correct Unity version for the target Unturned version. Update the Asset_Bundle_Version field to match.

Corrupted master bundle file

A .masterbundle file that is partially downloaded, incorrectly copied, or damaged on disk may fail to load.

SymptomLog entryCause
Assets display as pink checkerboard or fail to loadBundle parsing errors in logCorrupted bundle file

Fix: Delete the corrupted bundle file and re-export or re-download it.

Asset_Prefix mismatch

The Asset_Prefix field must match the Unity project path where the assets were located when the bundle was built. If the prefix does not match, the engine may fail to find assets within the bundle.

SymptomLog entryCause
Individual assets fail to load, but the bundle itself loads"prefab not found" for individual assetsAsset_Prefix does not match the Unity project structure

Fix: Verify the Asset_Prefix matches the Unity project path used during bundle export.

Cascading failure pattern

A single master bundle failure causes all assets that depend on that bundle to fail. The cascading pattern is:

  1. MasterBundle.dat points to Weapons.masterbundle but the file is missing
  2. Log entry: [Error] Could not find master bundle Weapons.masterbundle
  3. Every item that needs a prefab from Weapons.masterbundle fails to load
  4. Those items produce individual log entries: [Warning] Failed to find asset with GUID <guid>
  5. Spawn tables that reference those items produce further warnings

The cascading failure means that a single missing bundle file can produce dozens or hundreds of log entries. The 57 Studios cohort recommendation is to always look for the first [Error] entry in the log, because that entry identifies the root cause.

Diagnostic table

SymptomMost likely causeResolution
All mod items are invisibleMaster bundle file is missingCopy the .masterbundle file to the mod directory
Pink checkerboard on specific itemsCorrupted master bundle or wrong Unity versionRe-export the bundle from the correct Unity version
"prefab not found" for individual assetsAsset_Prefix mismatch or bundle path issueVerify Asset_Prefix matches the Unity project structure
Bundle loads in single-player but not on serverServer missing the bundle fileCopy the bundle file to the server's Bundles/ directory
Hash mismatch error on serverBundle version difference between client and serverEnsure both client and server have the same bundle version
Items load but have wrong texturesCorrupted bundle or texture path issueRe-export the bundle and verify texture assignments

Decision tree for master bundle diagnosis

FAQ

Can a single master bundle serve multiple mod directories?

Yes. The Asset_Prefix field controls which path within the bundle is searched for each asset. If two mod directories use the same Asset_Prefix, they can share a master bundle. The 57 Studios cohort recommendation is to give each mod its own master bundle to avoid path conflicts.

What happens if I delete the .hash file?

The .hash file is used by the server to verify client asset bundle integrity. Deleting it means cheaters can modify the asset bundle without detection. The 57 Studios cohort recommendation is to always include the .hash file when redistributing asset bundles.

How do I know which Unity version to use?

Check the current Unturned version's Unity version in the game's changelog or by examining the Asset_Bundle_Version field in official content's MasterBundle.dat files. The official SDG documentation lists the Unity version for each Asset_Bundle_Version value.

Can I convert a .content bundle to a .masterbundle?

Yes. Rename the .content file to .masterbundle and add a corresponding MasterBundle.dat file. Content bundles have been deprecated since version 3.22.4.0 and should be migrated to the master bundle format.

Why does my bundle work in single-player but not on a server?

The most common cause is that the master bundle file is present in the client's mod directory but not in the server's Bundles/ directory. Servers load mods from their own file system, not from the client's Workshop cache. Copy the bundle file to the server.

Worked examples of master bundle troubleshooting

Example 1: Missing master bundle file on a dedicated server

A map mod works correctly in single-player but fails to load on the dedicated server. The server log shows:

[Error] Could not find master bundle MyMap.masterbundle

Diagnosis: The server operator extracted the mod files but forgot to include the MyMap.masterbundle file in the server's Bundles/ directory. The MasterBundle.dat file exists but has no corresponding .masterbundle file.

Resolution: Copy MyMap.masterbundle to the server's Servers/MyServer/Bundles/ directory. Restart the server.

Example 2: Unity version mismatch after game update

After a major Unturned update, a weapon mod stops loading. The client log shows:

[Warning] Asset bundle version 3 may not be compatible with current Unity version

Diagnosis: The mod's MasterBundle.dat has Asset_Bundle_Version 3 (Unity 2018.4 LTS), but the updated Unturned now uses Unity 2020 LTS.

Resolution: Install Unity 2020 LTS. Rebuild the mod's master bundle using the new Unity version. Update Asset_Bundle_Version to 4 in MasterBundle.dat. Publish the updated mod.

Example 3: Asset_Prefix mismatch after project reorganization

A mod author reorganizes the Unity project folder structure. After rebuilding the master bundle, individual assets fail to load.

Diagnosis: The Asset_Prefix in MasterBundle.dat is Assets/CoreMasterBundle, but after the reorganization, the prefabs are located at Assets/Game/Weapons/. The bundle contains the prefabs at the new path, but the engine searches for them at the old path.

Resolution: Update Asset_Prefix in MasterBundle.dat to Assets/Game to match the new project structure. Rebuild the bundle.

Master bundle file structure reference

The following table documents the files that are generated when a master bundle is exported, and their purposes.

FilePlatformPurposeRequired?
Weapons.masterbundleWindows (primary)The main asset bundle file containing all Unity assetsYes
Weapons_linux.masterbundleLinuxPlatform-specific shaders for LinuxIf multiplatform
Weapons_mac.masterbundlemacOSPlatform-specific shaders for macOSIf multiplatform
Weapons.masterbundle.hashAllHash file for server-side integrity verificationRecommended
Weapons.masterbundle.manifestAllManifest listing all bundled assets and their pathsRecommended

Multiplatform export and hash files

When the "multiplatform" toggle is enabled during master bundle export, the tool generates platform-specific shader files for Linux and macOS, and a .hash file for server-side integrity verification. The .hash file is critical for preventing cheaters from modifying the asset bundle.

Best practices

  • Always include the .hash file when redistributing master bundles
  • Rebuild master bundles when upgrading Unity versions
  • Give each mod its own master bundle
  • Verify Asset_Prefix matches the Unity project structure
  • Check the first [Error] entry in the log to find the root cause
  • Test master bundle loading on both client and server before publishing

Appendix A: MasterBundle.dat field reference

FieldTypeRequiredDefaultPurpose
Asset_Bundle_NamestringYes-Name of the .masterbundle file
Asset_PrefixstringYes-Unity project path prefix
Asset_Bundle_VersionintYes-Unity version indicator

Appendix B: Master bundle export checklist

Use this checklist when exporting a master bundle from Unity.

  • [ ] Unity version matches the intended Asset_Bundle_Version
  • [ ] All prefabs are correctly tagged and layered (Item: tag 4, layer 13)
  • [ ] Asset_Prefix in MasterBundle.dat matches the Unity project structure
  • [ ] Multplatform toggle is enabled for server distribution
  • [ ] Export destination path is correct and writable
  • [ ] All referenced assets (textures, materials, meshes) are included in the bundle
  • [ ] .hash file is generated and included in the mod package
  • [ ] .manifest file is generated for debugging purposes
  • [ ] Bundle size is reasonable (check for unexpected large files)

Appendix C: Master bundle version compatibility matrix

Asset_Bundle_VersionUnity versionUnturned version compatibilityNotes
1Unity 5.5Very old (pre-3.x)Limited functionality
2Unity 2017.4 LTSOlder 3.x versionsSome features may not work
3Unity 2018.4 LTS3.x (current for many mods)Good compatibility
4Unity 2020 LTSCurrent 3.xRecommended for new mods
5Unity 2021 LTSCurrent 3.xLatest stable
6Unity 2022 LTSLatestMay not be supported by all versions

Appendix D: Master bundle file size reference

Mod typeTypical master bundle sizeNotes
Single weapon500 KB - 2 MBSmall bundle
Weapon pack (5-10 items)5-20 MBModerate
Vehicle2-10 MBDepends on model detail
Map (small)50-200 MBDepends on terrain and objects
Map (large)200 MB - 1 GBLarge terrains, many custom assets
Map (curated)500 MB - 2 GBFull custom content set

Appendix E: Master bundle error log patterns

Log entryMeaningAction
[Error] Could not find master bundle XThe .masterbundle file is missingCopy the bundle file to the correct directory
[Warning] Asset bundle version X may not be compatibleUnity version differenceRebuild bundle for the correct Unity version
[Error] Failed to read asset bundle XThe bundle file is corruptedRe-export the bundle from Unity
[Warning] Asset_Bundle_Version X is deprecatedBundle version is very oldUpdate to the current version
[Warning] Asset X not found in bundle YAsset_Prefix mismatch or missing prefabVerify Asset_Prefix and prefab names
[Error] Could not load asset bundle X: hash mismatchClient and server bundle versions differSync versions between client and server

Appendix F: Master bundle migration guide (content bundle to master bundle)

Content bundles (.content files) were deprecated in version 3.22.4.0. To migrate a content bundle to the master bundle format:

  1. Rename the .content file to .masterbundle.
  2. Create a MasterBundle.dat file in the same directory with the correct Asset_Bundle_Name, Asset_Prefix, and Asset_Bundle_Version fields.
  3. Verify that the renamed bundle loads correctly in the current Unturned version.
  4. Test all assets that depend on the bundle.
  5. Publish the migrated bundle in the next mod update.

Appendix G: Cross-platform master bundle deployment guide

Deploying master bundles across multiple platforms requires attention to platform-specific file paths and shader compatibility.

Windows deployment

  • Place .masterbundle files in Bundles/ or Workshop/Content/304930/<ModID>/Bundles/
  • No special shader handling needed (Windows is the primary platform)

Linux server deployment

  • Ensure multiplatform export was enabled when building the bundle
  • The _linux.masterbundle file provides Linux-compatible shaders
  • Without the Linux shader file, the bundle may not render correctly on Linux

macOS deployment

  • Ensure multiplatform export was enabled when building the bundle
  • The _mac.masterbundle file provides macOS-compatible shaders
  • macOS deployment is less common but follows the same pattern as Linux

Appendix H: Master bundle verification checklist

CheckToolExpected result
Bundle file existsFile Explorer.masterbundle file present
Hash file existsFile Explorer.hash file present
Version is correctOpen MasterBundle.datAsset_Bundle_Version matches Unity version
Prefix is correctOpen MasterBundle.datAsset_Prefix matches Unity project structure
Bundle is not corruptedTry loading in gameNo Failed to read asset bundle errors
Multiplatform shaders existFile Explorer_linux.masterbundle and _mac.masterbundle present

Appendix I: Master bundle naming convention reference

The following table documents the naming conventions for master bundle files and their associated assets.

ComponentNaming conventionExample
Master bundle file{ProjectName}.masterbundleWeapons.masterbundle
MasterBundle.datAlways named MasterBundle.datMasterBundle.dat
Linux variant{ProjectName}_linux.masterbundleWeapons_linux.masterbundle
macOS variant{ProjectName}_mac.masterbundleWeapons_mac.masterbundle
Hash file{ProjectName}.masterbundle.hashWeapons.masterbundle.hash
Manifest file{ProjectName}.masterbundle.manifestWeapons.masterbundle.manifest

Appendix J: Master bundle size estimation guide

Content typeEstimated bundle sizeFactors affecting size
Single weapon prefab + texture500 KB - 2 MBMesh detail, texture resolution
Weapon pack (10 items)5-20 MBNumber of prefabs, texture count
Vehicle (single)2-10 MBMesh detail, wheel count, texture resolution
Vehicle pack (5 vehicles)10-50 MBNumber of vehicles, shared vs unique textures
Map terrain only50-200 MBTerrain resolution, splatmap count
Map with custom objects200 MB - 1 GBObject count, texture count, mesh detail
Full curated map500 MB - 2 GBAll custom assets combined

Appendix K: Master bundle troubleshooting decision matrix

SymptomBundle loads?Assets visible?Log errorLikely cause
Nothing appearsNoNoCould not find master bundleMissing .masterbundle file
Some assets invisibleYesSomeprefab not foundAsset_Prefix mismatch
Pink texturesYesYes, but wrong(none)Missing material references
Hash error on joinYesYesHash mismatchClient-server version mismatch
Crash on loadPartialNoFailed to read asset bundleCorrupted bundle file
Wrong modelsYesYes, but wrong(none)Outdated bundle version

Appendix L: Master bundle file validation commands

The following commands can be used to verify the integrity of master bundle files.

CommandPurposeOutput
ls -la *.masterbundleVerify file exists and sizeFile listing with sizes
md5sum Weapons.masterbundleGenerate MD5 hashHash string for comparison
sha256sum Weapons.masterbundleGenerate SHA-256 hashHash string for comparison
stat Weapons.masterbundleFile metadataSize, dates, permissions
unzip -l Weapons.masterbundleList bundle contentsFile listings within the bundle

Appendix M: Common master bundle error messages by Unity version

Unity versionAsset_Bundle_VersionCommon error when loadingResolution
Unity 5.51"Asset bundle version 1 is deprecated"Rebuild bundle with current Unity
Unity 2017.4 LTS2"Asset_Bundle_Version 2 may not be compatible"Update to version 3 or higher
Unity 2018.4 LTS3(none - widely compatible)Most compatible version
Unity 2020 LTS4(none - current standard)Recommended for new mods
Unity 2021 LTS5May not be supported by older Unturned versionsCheck game version compatibility
Unity 2022 LTS6May not be supported by older Unturned versionsCheck game version compatibility

Appendix N: Master bundle troubleshooting resource list

ResourcePurpose
SDG Asset Bundles documentationOfficial documentation for master bundle setup and export
Unity Manual: Asset BundlesUnity-side documentation for bundle creation
Master Bundle Export article57 Studios KB article for the Unity export workflow
Asset Load Failure Reference57 Studios KB article for related load failure scenarios

Appendix O: Master bundle file integrity check commands for server operators

Server operators should verify master bundle file integrity before deploying updates to production servers.

CheckWindows commandLinux commandExpected result
File existsdir *.masterbundlels -la *.masterbundleFile present with expected size
File sizedir *.masterbundlels -la *.masterbundleSize matches expected value
Hash verificationcertutil -hashfile X.masterbundle MD5md5sum X.masterbundleHash matches known-good value
Bundle integrityLoad in gameLoad in gameNo "Failed to read" errors
Manifest checkOpen .manifest fileOpen .manifest fileAll expected assets listed
Hash file presentdir *.hashls -la *.hash.hash file exists for server

Appendix P: Master bundle troubleshooting workflow for server updates

The following workflow ensures that master bundle updates are deployed safely.

  1. Download the updated mod files from the Workshop.
  2. Compare the new MasterBundle.dat with the previous version. Note any changes to Asset_Bundle_Name, Asset_Prefix, or Asset_Bundle_Version.
  3. Verify the new .masterbundle file is present and not corrupted.
  4. Deploy the new files to the server's Bundles/ directory.
  5. Restart the server.
  6. Check the server log for any [Error] entries related to master bundle loading.
  7. Join the server from a client and verify that all assets load correctly.

Appendix Q: Master bundle deployment checklist by environment

EnvironmentCheckExpected state
Development PCMasterBundle.dat presentYes, correct Asset_Bundle_Name
Development PC.masterbundle file presentYes, recent version
Development PCAsset_Prefix matches Unity projectYes
Test serverBundle file copied to Bundles/Yes
Test server.hash file includedYes (if server validates)
Test serverServer log shows no bundle errorsYes
Production serverAll test server checks passYes
Production serverWorkshop upload includes all filesYes
Client PCWorkshop downloads correct versionYes
Client PCNo Could not find master bundle errorYes

Appendix R: Master bundle troubleshooting best practices

  • Always include the .hash file when distributing master bundles
  • Rebuild bundles when upgrading Unity versions
  • Verify Asset_Prefix matches your Unity project structure
  • Give each mod its own master bundle to avoid path conflicts
  • Check the first [Error] entry in the log to find the root cause
  • Test bundle loading on both client and server before publishing
  • Document Asset_Bundle_Version in the mod's Workshop description
  • Keep backup copies of known-good bundle files for rollback

Appendix S: Master bundle troubleshooting quick-reference

ErrorCauseFix
Could not find master bundle XMissing fileCopy .masterbundle to directory
Asset_Bundle_Version X may not be compatibleUnity version mismatchRebuild with correct Unity
Failed to read asset bundle XCorrupted fileRe-export from Unity
prefab not found in bundle XPath mismatchCorrect Asset_Prefix
Hash mismatch for bundle XVersion mismatchSync client and server
Asset X not found in bundle YMissing prefabRebuild bundle with all assets

Appendix T: External resources for master bundle troubleshooting

ResourceURLDescription
SDG Asset Bundles documentationhttps://docs.smartlydressedgames.com/en/stable/Official documentation for setup and export
Unity Manual: Asset Bundleshttps://docs.unity3d.com/Manual/AssetBundlesIntro.htmlUnity-side documentation
Master Bundle Exporthttps://docs.57studios.net/items/master-bundle-export57 Studios KB article
Asset Load Failure Referencehttps://docs.57studios.net/troubleshooting/asset-load-failure-referenceRelated troubleshooting guide

Appendix U: External references

The 57 Studios documentation team maintains this guide to help mod authors and server operators troubleshoot master bundle issues. Understanding the master bundle system is essential for publishing any mod that includes Unity assets.

Understanding master bundle behavior is critical for diagnosing mod loading failures that trace back to asset packaging issues.

Authoring checklist

  • [ ] MasterBundle.dat points to an existing .masterbundle file
  • [ ] The .hash file is included for integrity verification
  • [ ] Asset_Bundle_Version matches the target Unity version
  • [ ] Asset_Prefix matches the Unity project structure
  • [ ] Bundle has been tested on both client and server
  • [ ] The .masterbundle file is not corrupted (verified by MD5 hash)

Document history

VersionDateAuthorNotes
1.02026-07-2657 StudiosInitial publication. Complete master bundle troubleshooting reference with failure scenarios, diagnostic table, decision tree, and FAQ.

The 57 Studios documentation team maintains this troubleshooting guide to help mod authors and server operators resolve master bundle issues efficiently. Proper master bundle configuration is essential for mod functionality.

Cross-references