Prefab Editor Error, though suspect this is a probably in game error too.
Error in Console:
InvalidCastException: Cannot cast from source type to destination type.
Error from Output Log:
InvalidCastException: Cannot cast from source type to destination type.
at BlockDoorSecure.GetBlockActivationCommands (.WorldBase _world, BlockValue _blockValue, Int32 _clrIdx, Vector3i _blockPos, .EntityAlive _entityFocusing) [0x00000] in <filename unknown>:0
at BlockDoorSecure.GetBlockActivationCommands (.WorldBase _world, BlockValue _blockValue, Int32 _clrIdx, Vector3i _blockPos, .EntityAlive _entityFocusing) [0x00000] in <filename unknown>:0
at PlayerMoveController.Update () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
2019-02-05T22:37:38 2107.433 INF Time: 34.85m FPS: 45.86 Heap: 344.0MB Max: 363.7MB Chunks: 99 CGO: 63 Ply: 1 Zom: 0 Ent: 1 (1) Items: 0 CO: 1 RSS: 1929.4MB
InvalidCastException: Cannot cast from source type to destination type.
at BlockDoorSecure.GetBlockActivationCommands (.WorldBase _world, BlockValue _blockValue, Int32 _clrIdx, Vector3i _blockPos, .EntityAlive _entityFocusing) [0x00000] in <filename unknown>:0
at BlockDoorSecure.GetBlockActivationCommands (.WorldBase _world, BlockValue _blockValue, Int32 _clrIdx, Vector3i _blockPos, .EntityAlive _entityFocusing) [0x00000] in <filename unknown>:0
at PlayerMoveController.Update () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
InvalidCastException: Cannot cast from source type to destination type.
at BlockDoorSecure.GetBlockActivationCommands (.WorldBase _world, BlockValue _blockValue, Int32 _clrIdx, Vector3i _blockPos, .EntityAlive _entityFocusing) [0x00000] in <filename unknown>:0
at BlockDoorSecure.GetBlockActivationCommands (.WorldBase _world, BlockValue _blockValue, Int32 _clrIdx, Vector3i _blockPos, .EntityAlive _entityFocusing) [0x00000] in <filename unknown>:0
at PlayerMoveController.Update () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
2019-02-05T22:38:08 2137.437 INF Time: 35.35m FPS: 42.13 Heap: 352.6MB Max: 363.7MB Chunks: 99 CGO: 63 Ply: 1 Zom: 0 Ent: 1 (1) Items: 0 CO: 1 RSS: 1935.1MB
Error Reproduction:
To reproduce the error please download and open the prefab from the link below. Pille and I both were able to generate this error from the prefab noted below.
1. Load up the prefab.
2. Go to the room with the 4 vending machines.
3. Go to the garage door.
4. Look at the screen shot provided below and move your mouse over the block that is selected in the screen shot.
Screenshot
Direct Prefab Download
Special Note: When testing, if you TP 20 0 0, you'll hop away from focusing on the block and you'll be able to test again.
The fix for this Prefab was to remove the two zombies from behind the garage door, closest to the garage door.