Solved The referenced script on this Behaviour (Game Object 'X') is missing (not updated fully)
Discussion in 'Rust Discussion' started by Big Daddy 3, Mar 2, 2017.
-
If this is a plugin you need to post in the plugin topic for support
-
going to reinstall oxide. idk why its does this on one server but not the other one of mine
-
The problem is that these Junkyard Junkpile Scientist etc errors are all related to what I'm assuming were the Rust commands in regards to Scientist spawning.
I enabled the spawn of NPCs and then disabled them later. I didnt use plugins to do this, just the Rust console commands. But I think somehow the config file is backwards and still thinks its enabled or something because it wont load my server. The server wont boot and gives these two errors I have shown below. I edited a server command named junkpile a and junkpile g as well as a spawn command. I had reset these all back to false but this is the first reboot since and now my server wont re-boot. I have my server hosted, and it uses TCAdmin. Where would I find the location of my server console command settings so I can double check and remove that as a problem?
I understand easiest fix is full fresh reinstall which is fine but in case this ever happens again and this is a fast fix, I'd like to know if the idea works or not.
Thanks in advance.
Code:NullReferenceException: Object reference not set to an instance of an object at JunkPile.ServerInit () [0x00000] in <filename unknown>:0 at BaseNetworkable.Spawn () [0x00000] in <filename unknown>:0 at SpawnHandler.Spawn (.SpawnPopulation population, .SpawnDistribution distribution, Vector3 pos, Quaternion rot) [0x00000] in <filename unknown>:0 at SpawnHandler.Spawn (.SpawnPopulation population, .SpawnDistribution distribution, Int32 targetCount, Int32 numToFill, Int32 numToTry) [0x00000] in <filename unknown>:0 at SpawnHandler.SpawnInitial (.SpawnPopulation population, .SpawnDistribution distribution) [0x00000] in <filename unknown>:0 at SpawnHandler.InitialSpawn () [0x00000] in <filename unknown>:0 at ServerMgr.Initialize (Boolean loadSave, System.String saveFile, Boolean allowOutOfDateSaves, Boolean skipInitialSpawn) [0x00000] in <filename unknown>:0 at Bootstrap+<StartServer>c__Iterator2.MoveNext () [0x00000] in <filename unknown>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0 (Filename: Line: -1)
Code:(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)The referenced script on this Behaviour is missing!(Filename: Line: 1516)The referenced script on this Behaviour is missing!(Filename: Line: 1516)The referenced script on this Behaviour (Game Object 'junkpile_a') is missing!(Filename: Line: 1759)The referenced script on this Behaviour (Game Object '') is missing!(Filename: Line: 1759)The referenced script on this Behaviour is missing!(Filename: Line: 1516)The referenced script on this Behaviour is missing!(Filename: Line: 1516)The referenced script on this Behaviour (Game Object 'junkpile_g') is missing!(Filename: Line: 1759)The referenced script on this Behaviour (Game Object '') is missing!(Filename: Line: 1759)The referenced script on this Behaviour is missing!(Filename: Line: 1516)The referenced script on this Behaviour is missing!(Filename: Line: 1516)The referenced script on this Behaviour (Game Object 'ScientistSpawner') is missing!(Filename: Line: 1759)The referenced script on this Behaviour (Game Object 'ScientistSpawner') is missing!(Filename: Line: 1759)The referenced script on this Behaviour (Game Object 'junkpile_a') is missing!(Filename: Line: 1759)The referenced script on this Behaviour (Game Object 'junkpile_a') is missing!(Filename: Line: 1759)
Last edited by a moderator: Mar 13, 2018