ArgumentException at SpawnNpcEntitySolved

todays update broke it completely.. i know it was already broken,and abandond? but i could still work with it in former state..

Mee too...

What exactly is broken? Any errors?

Error:Β 

(20:02:26) | Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.83' (ArgumentException: The Object you want to instantiate is null.) at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00049] in <c8dc2b468d1841099baa4dd8a110cc44>:0 at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00001] in <c8dc2b468d1841099baa4dd8a110cc44>:0 at Facepunch.Instantiate.GameObject (UnityEngine.GameObject go, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00007] in <0ade3045cd03444fb84ebafefa234e43>:0 at Oxide.Plugins.RadtownAnimals.InstantiateEntity (System.String type, UnityEngine.Vector3 position) [0x0000b] in <9adbb70d42fe4267ac7192ea4d58c7be>:0 at Oxide.Plugins.RadtownAnimals.SpawnNpcEntity (System.String prefabPath, UnityEngine.Vector3 pos) [0x00013] in <9adbb70d42fe4267ac7192ea4d58c7be>:0 at Oxide.Plugins.RadtownAnimals.SpawnAnimals (UnityEngine.Vector3 position, System.Collections.Generic.Dictionary`2[TKey,TValue] spawnList) [0x00097] in <9adbb70d42fe4267ac7192ea4d58c7be>:0 at Oxide.Plugins.RadtownAnimals.InitializeAnimalSpawns () [0x000d9] in <9adbb70d42fe4267ac7192ea4d58c7be>:0 at Oxide.Plugins.RadtownAnimals.OnServerInitialized () [0x00000] in <9adbb70d42fe4267ac7192ea4d58c7be>:0 at Oxide.Plugins.RadtownAnimals.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <9adbb70d42fe4267ac7192ea4d58c7be>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0

broken for me toΒ 

I did some testing.Β  Seems the scientist are cusing the error.Β  If I place a 0 for scientist no errors and plugin works fine, but if I want scientist that error pops up

Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.83' (ArgumentException: The Object you want to instantiate is null.) at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00049] in <ba657ba1ce6746c39d9263534c2395e1>:0
at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00001] in <ba657ba1ce6746c39d9263534c2395e1>:0
at Facepunch.Instantiate.GameObject (UnityEngine.GameObject go, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00007] in <1d8d9e78534b47d6b4ec622f6f4542a0>:0
at Oxide.Plugins.RadtownAnimals.InstantiateEntity (System.String type, UnityEngine.Vector3 position) [0x0000b] in <011561e8fbed4e6c81d143b98e8fe98c>:0
at Oxide.Plugins.RadtownAnimals.SpawnNpcEntity (System.String prefabPath, UnityEngine.Vector3 pos) [0x00013] in <011561e8fbed4e6c81d143b98e8fe98c>:0
at Oxide.Plugins.RadtownAnimals.SpawnAnimals (UnityEngine.Vector3 position, System.Collections.Generic.Dictionary`2[TKey,TValue] spawnList) [0x00097] in <011561e8fbed4e6c81d143b98e8fe98c>:0
at Oxide.Plugins.RadtownAnimals.InitializeAnimalSpawns () [0x0028c] in <011561e8fbed4e6c81d143b98e8fe98c>:0
at Oxide.Plugins.RadtownAnimals.OnServerInitialized () [0x00000] in <011561e8fbed4e6c81d143b98e8fe98c>:0
at Oxide.Plugins.RadtownAnimals.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <011561e8fbed4e6c81d143b98e8fe98c>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0
Calling 'OnServerInitialized' on 'RadtownAnimals v0.2.83' took 370ms
Loaded plugin RadtownAnimals v0.2.83 by k1lly0u
(13:18:03) | RadtownAnimals was compiled successfully in 2094ms
(13:18:04) | Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.83' (ArgumentException: The Object you want to instantiate is null.)
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00049] in <c8dc2b468d1841099baa4dd8a110cc44>:0

at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00001] in <c8dc2b468d1841099baa4dd8a110cc44>:0

at Facepunch.Instantiate.GameObject (UnityEngine.GameObject go, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00007] in <0ade3045cd03444fb84ebafefa234e43>:0

at Oxide.Plugins.RadtownAnimals.InstantiateEntity (System.String type, UnityEngine.Vector3 position) [0x0000b] in <142f6440d3984fda88900cff2a6b704d>:0

at Oxide.Plugins.RadtownAnimals.SpawnNpcEntity (System.String prefabPath, UnityEngine.Vector3 pos) [0x00013] in <142f6440d3984fda88900cff2a6b704d>:0

at Oxide.Plugins.RadtownAnimals.SpawnAnimals (UnityEngine.Vector3 position, System.Collections.Generic.Dictionary`2[TKey,TValue] spawnList) [0x00070] in <142f6440d3984fda88900cff2a6b704d>:0

at Oxide.Plugins.RadtownAnimals.InitializeAnimalSpawns () [0x00235] in <142f6440d3984fda88900cff2a6b704d>:0

at Oxide.Plugins.RadtownAnimals.OnServerInitialized () [0x00000] in <142f6440d3984fda88900cff2a6b704d>:0

at Oxide.Plugins.RadtownAnimals.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <142f6440d3984fda88900cff2a6b704d>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0
(13:18:04) | Calling 'OnServerInitialized' on 'RadtownAnimals v0.2.83' took 1428ms
(13:18:04) | Loaded plugin RadtownAnimals v0.2.83 by k1lly0u


Merged post

...\πŸ™/...

NPCs were apparently reworked and murderers were removed from the game entirely.Β  I am looking for a way to spawn NPCs at monuments and hoping that one of these plugins can be fixed up to take the place of BotSpawn which is now an overpriced 40 dollar mod.Β  I just want the ability to spawn NPCs I set up at monuments and I am not going to drop 40 dollars on something I already had for free if I dont have to.

..\πŸ˜•/..

Merged post

../πŸ˜’\,,

this new patch fixed old plugin issues or just the latest rust update issue?

Merged post

been testing last hour, works like a charm. i dont have any of the old issues so far. thanks allot k1lly0u

For me the same problem continues even with Oxide.Rust Version: 2.0.5294 ... 😞

Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.83' (ArgumentException: The Object you want to instantiate is null.)
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00049] in <c8dc2b468d1841099baa4dd8a110cc44>:0

at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00001] in <c8dc2b468d1841099baa4dd8a110cc44>:0

at Facepunch.Instantiate.GameObject (UnityEngine.GameObject go, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00007] in <fcd9724dc6a14d0aa48ae5391bb77ec2>:0

at Oxide.Plugins.RadtownAnimals.InstantiateEntity (System.String type, UnityEngine.Vector3 position) [0x0000b] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.SpawnNpcEntity (System.String prefabPath, UnityEngine.Vector3 pos) [0x00013] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.SpawnAnimals (UnityEngine.Vector3 position, System.Collections.Generic.Dictionary`2[TKey,TValue] spawnList) [0x00097] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.InitializeAnimalSpawns () [0x00235] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.OnServerInitialized () [0x00000] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0
(13:47:46) | Calling 'OnServerInitialized' on 'RadtownAnimals v0.2.83' took 987ms
(13:47:46) | Loaded plugin RadtownAnimals v0.2.83 by k1lly0u
T8djgdHNxnXnUSt.PNG ReiNasc

For me the same problem continues even with Oxide.Rust Version: 2.0.5294 ... 😞

Failed to call hook 'OnServerInitialized' on plugin 'RadtownAnimals v0.2.83' (ArgumentException: The Object you want to instantiate is null.)
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00049] in <c8dc2b468d1841099baa4dd8a110cc44>:0

at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x00001] in <c8dc2b468d1841099baa4dd8a110cc44>:0

at Facepunch.Instantiate.GameObject (UnityEngine.GameObject go, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00007] in <fcd9724dc6a14d0aa48ae5391bb77ec2>:0

at Oxide.Plugins.RadtownAnimals.InstantiateEntity (System.String type, UnityEngine.Vector3 position) [0x0000b] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.SpawnNpcEntity (System.String prefabPath, UnityEngine.Vector3 pos) [0x00013] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.SpawnAnimals (UnityEngine.Vector3 position, System.Collections.Generic.Dictionary`2[TKey,TValue] spawnList) [0x00097] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.InitializeAnimalSpawns () [0x00235] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.OnServerInitialized () [0x00000] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.RadtownAnimals.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0008d] in <c2a5f918f03c4db1994990951bd975ec>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <9882f28dc2204b4dba514a9ad18f5042>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0
(13:47:46) | Calling 'OnServerInitialized' on 'RadtownAnimals v0.2.83' took 987ms
(13:47:46) | Loaded plugin RadtownAnimals v0.2.83 by k1lly0u
be sure to download and replace old plugin, the new one is v0.3.0. your console shows the older version

Very grateful friend, the update only appeared to me now, my cache must be dirty. Very grateful, and congratulations because the plugin is very good...

Merged post

..\πŸ˜„/..

Locked automatically