Jump to content
  • 1

NullReferenceException on custom map server


Lil Boi Loui
 Share

Question

Hi,

 

I've been working on a custom map for some days now. I took a procedural then modified it on Rust Edit.

The server was running just fine before and after the update but now when I try to open the server with the custom map it just stop loading at this error: NullReferenceException: object reference not set to an instance of an object. I've been trying to find a solution on the internet but none are working.

-------------------------------------------------------------------------------------------------------------------------------------------------------

Here's the full error from the log:

NullReferenceException: Object reference not set to an instance of an object
  at Signage.PreProcess (IPrefabProcessor preProcess, UnityEngine.GameObject rootObj, System.String name, System.Boolean serverside, System.Boolean clientside, System.Boolean bundling) [0x0002f] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at PrefabPreProcess.ProcessObject (System.String name, UnityEngine.GameObject go, System.Boolean resetLocalTransform) [0x001bc] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at BaseEntity.SpawnAsMapEntity () [0x00068] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at ServerMgr.SpawnMapEntities () [0x00015] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at ServerMgr.Initialize (System.Boolean loadSave, System.String saveFile, System.Boolean allowOutOfDateSaves, System.Boolean skipInitialSpawn) [0x0002c] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at Bootstrap+<StartServer>d__19.MoveNext () [0x002fb] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <c8dc2b468d1841099baa4dd8a110cc44>:0 

-------------------------------------------------------------------------------------------------------------------------------------------------------

I'm new at this so I don't really know what all this is.

Thanks.

  • Like 1
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
On 1/7/2022 at 12:34 AM, Lil Boi Loui said:

Hi,

 

I've been working on a custom map for some days now. I took a procedural then modified it on Rust Edit.

The server was running just fine before and after the update but now when I try to open the server with the custom map it just stop loading at this error: NullReferenceException: object reference not set to an instance of an object. I've been trying to find a solution on the internet but none are working.

-------------------------------------------------------------------------------------------------------------------------------------------------------

Here's the full error from the log:

NullReferenceException: Object reference not set to an instance of an object
  at Signage.PreProcess (IPrefabProcessor preProcess, UnityEngine.GameObject rootObj, System.String name, System.Boolean serverside, System.Boolean clientside, System.Boolean bundling) [0x0002f] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at PrefabPreProcess.ProcessObject (System.String name, UnityEngine.GameObject go, System.Boolean resetLocalTransform) [0x001bc] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at BaseEntity.SpawnAsMapEntity () [0x00068] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at ServerMgr.SpawnMapEntities () [0x00015] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at ServerMgr.Initialize (System.Boolean loadSave, System.String saveFile, System.Boolean allowOutOfDateSaves, System.Boolean skipInitialSpawn) [0x0002c] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at Bootstrap+<StartServer>d__19.MoveNext () [0x002fb] in <da0020bcb7d241c6983bee4b70390c39>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <c8dc2b468d1841099baa4dd8a110cc44>:0 

-------------------------------------------------------------------------------------------------------------------------------------------------------

I'm new at this so I don't really know what all this is.

Thanks.

Most likely you have an entity on your map, try removing all entity / broken prefabs from the map, rename it and start your server.

Edited by Disguise
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

392.3k

Downloads

Total number of downloads.

2.1k

Customers

Total customers served.

28.3k

Files Sold

Total number of files sold.

441.7k

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.