get_peerType can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don't use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
UnityEngine.Network:get_peerType()
Map:GetBlock(Int32, Int32, Int32) (at C:\Users\pc\OneDrive\Documents\GitHub\worldcraft\Unity 5\Assets\VoxelEngine\Core\Map\Map.cs:115)
Map:GetBlock(Vector3i) (at C:\Users\pc\OneDrive\Documents\GitHub\worldcraft\Unity 5\Assets\VoxelEngine\Core\Map\Map.cs:111)
SpreadingInstruction:applyFluidPhysics(Vector3i) (at C:\Users\pc\OneDrive\Documents\GitHub\worldcraft\Unity 5\Assets\Assets\Prefabs\Player\Scripts\Builder.cs:298)
SpreadingInstruction:fluidCalculate() (at C:\Users\pc\OneDrive\Documents\GitHub\worldcraft\Unity 5\Assets\Assets\Prefabs\Player\Scripts\Builder.cs:286)
[C:/buildslave/unity/build/Runtime/Scripting/ScriptingThreadAndSerializationSafeCheck.cpp line 177]
(Filename: C:/Users/pc/OneDrive/Documents/GitHub/worldcraft/Unity 5/Assets/VoxelEngine/Core/Map/Map.cs Line: 115)
Sun 15 Light 1
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Builder:OnGUI() (at C:\Users\pc\OneDrive\Documents\GitHub\worldcraft\Unity 5\Assets\Assets\Prefabs\Player\Scripts\Builder.cs:84)
(Filename: C:/Users/pc/OneDrive/Documents/GitHub/worldcraft/Unity 5/Assets/Assets/Prefabs/Player/Scripts/Builder.cs Line: 84)