Jump to content

Joining doesn't work with the prefab

Closed 1.0.0

Kobani
Kobani

Posted (edited)

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
Kobani

Posted

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

Cewkies

Posted

hey kobani , will look into this today at some point and update the monument 

 

  • Like 1
Cewkies

Posted

just getting to this now

 

Cewkies

Posted

new version uploaded , any other problems please dont hesitate to contact me :]

  • Like 1
Kobani

Posted

Great thank you

 

Cewkies

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.