Search Unity

spawnbox

Discussion in 'FPS.Sample Game' started by keeponshading, Mar 29, 2019.

  1. keeponshading

    keeponshading

    Joined:
    Sep 6, 2018
    Posts:
    937
    Hello,

    i cant get the spawnbox command like showed in this great video



    error message from console

    >spawnbox 10
    7488: [ERR] Unable to open archive file: AssetBundles/BundledResources/Server_Assets/00000000000000000000000000000000
    7488: EXCEPTION Object reference not set to an instance of an object
    at BundledResourceManager.GetSingleAssetResource (WeakAssetReference reference) [0x000ad] in <2ba6f2b5859c41e786413e864684bd15>:0
    at MovableSystemServer.Update () [0x00030] in <2ba6f2b5859c41e786413e864684bd15>:0
    at ServerGameWorld.ServerTickUpdate () [0x0010d] in <2ba6f2b5859c41e786413e864684bd15>:0
    at ServerGameLoop.UpdateActiveState () [0x00016] in <2ba6f2b5859c41e786413e864684bd15>:0
    at StateMachine`1[T].Update () [0x00000] in <2ba6f2b5859c41e786413e864684bd15>:0
    at ServerGameLoop.Update () [0x000d7] in <2ba6f2b5859c41e786413e864684bd15>:0
    at Game.Update () [0x0021e] in <2ba6f2b5859c41e786413e864684bd15>:0
    7488: NullReferenceException: Object reference not set to an instance of an object

    anyone an idea?
     
  2. AggressiveMastery

    AggressiveMastery

    Joined:
    Nov 19, 2018
    Posts:
    206
    Howdy Keepon,

    In this last update, from FPS Sample 2.0 to v 3.0, they removed/messed up the movable cube prefab and gutted the system partially, for spawning movable cubes. My only thought on it, is that they have a bunch of physics in the FPS sample that they have not released to us, as they wanted to show that at this years Game Dev Conf that just happen this month.So they were working on the movable system (as they added interpolation to the movable.cs), and did not polish it up before pressing v3.0 out to us... which they also never announced as released... (current version on git.)

    So long story short, you can draw/drop them into the editor as the pref from this location:
    https://github.com/Unity-Technologi...Prefabs/ReplicatedEntities/MovableCube.prefab

    Or figure out how to re-enabled the spawnbox command's ability to locate that prefab :)

    GL HF
    Micah
     
    keeponshading and Journeythedev like this.
  3. keeponshading

    keeponshading

    Joined:
    Sep 6, 2018
    Posts:
    937
    Thanks. fpssample is the biggest crossword puzzle ever.)
     
    Journeythedev likes this.