Troubleshooting¶
Blocks Do Not Render¶
Check:
- The block ID is not
0. - The block is registered in
WorldSettings.blocks. BlockData.worldPrefabis assigned.- The world prefab has a
MeshFilterandMeshRenderer.
Cannot Place Blocks Next to Other Blocks¶
Make sure BlockInteractor is using the current placement logic that ignores chunk colliders during overlap checks. Player and entity colliders can still block placement.
Tool Does Not Speed Up Breaking¶
Check:
- The block has
Effective Tool Typeset. - The selected hotbar item is a tool.
- For
ItemData,itemTypeis Tool andtoolTypematches. Tool Speed Multiplieris less than1.
Example:
Tree block:
Effective Tool Type = Axe
Tool Speed Multiplier = 0.3
Wood Axe item:
Item Type = Tool
Tool Type = Axe
Save Menu Locks Cursor¶
The save menu should keep the cursor unlocked while open. If it locks:
- Confirm
DemoSaveMenuexists and is enabled. - Confirm
forceCursorUnlockedWhileOpenis enabled. - Avoid putting cursor-locking custom scripts above the menu logic.
- Check that inventory panels are not closing and re-enabling player control while the save menu is open.
Characters or Enemies Are White¶
White models usually mean a material lost its atlas texture.
Check:
Assets/PixitGames/BlockWorld/Models/OldBlocks/Atlas.pngexists.Assets/PixitGames/BlockWorld/Materials/SkinMaterial.mathas_BaseMapand_MainTexassigned.- Reimport affected FBX files if Unity still shows stale materials.
NullReferenceException During New Game¶
Most world generation errors are caused by missing data references.
Check:
WorldGenerator.settingsis assigned.WorldSettings.blocksdoes not contain missing entries.- Each biome has valid surface/subsurface/deep blocks.
- Generated block prefabs have valid renderable meshes.
UI Buttons Do Not Click¶
Check:
- An
EventSystemexists in the scene. - Canvas has a
GraphicRaycaster. - Cursor is unlocked when UI is open.
- The target panel's
CanvasGroup.blocksRaycastsis enabled.