Jump to content

Joining doesn't work with the prefab

Closed 1.0.0

Hello after adding this to my map. Can't join the server anymore. it gives the error:

87.166.161.179:54244/76561197979003911/Kobani disconnecting: Exception (cs:74975): NullReferenceException: Object reference not set to an instance of an object. MaterialConfig.GetMaterialPropertyBlock (UnityEngine.Material mat, UnityEngine.Vector3 pos, UnityEngine.Vector3 scale) (at <00000000000000000000000000000000>:0) MaterialSetup.OnEnable () (at <00000000000000000000000000000000>:0) GameManager.CreatePrefab (System.String strPrefab, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot, UnityEngine.Vector3 scale, System.Boolean active) (at <00000000000000000000000000000000>:0) Prefab.Spawn (UnityEngine.Vector3 pos, UnityEngine.Quaternion rot, UnityEngine.Vector3 scale, System.Boolean active) (at <00000000000000000000000000000000>:0) World.Spawn (System.String category, Prefab prefab, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Vector3 scale) (at <00000000000000000000000000000000>:0) World.Spawn (ProtoBuf.PrefabData prefab) (at <00000000000000000000000000000000>:0) World+<Spawn>d__69.MoveNext () (at <00000000000000000000000000000000>:0) WorldSetup+<InitCoroutine>d__15.MoveNext () (at <00000000000000000000000000000000>:0) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <00000000000000000000000000000000>:0) GameManager:CreatePrefab(String, Vector3, Quaternion, Vector3, Boolean) Prefab:Spawn(Vector3, Quaternion, Vector3, Boolean) World:Spawn(String, Prefab, Vector3, Quaternion, Vector3) World:Spawn(PrefabData) <Spawn>d__69:MoveNext() <InitCoroutine>d__15:MoveNext() UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

 

also happens on the map only with the prefab.

Modifirer is buggy too

2022-10-02-18-29-40.jpg

Edited by Kobani

Share this comment


Link to comment

Hey I found the bug. Why players couldn't load the map with the prefab. You should delete the following prefab. splash rock, remove all at the fountain. are probably too old.

However, there is another problem when you move around in the caves you eventually get kicked out of the server with the message: InsideTerrain: Enforcing (violation of 200) Please check. so I can use it without it happening. Thanks

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.1k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.