Update Blox 3.4.6 and unity 1.1.f1


#1

Hi Leslie,

Just updated both blox3 and Unity to latest version. Getting a lot of errors “cannot cast from source type to destination type” and some others :value was expected", “value cant be compared”. Thks!

InvalidCastException: Cannot cast from source type to destination type.
(wrapper dynamic-method) UnityEngine.Vector3.getter (object) <IL 0x00001, 0x00074>
BloxEngine.BloxMemberInfo.GetValue (object) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxMemberInfo.cs:253)
BloxEngine.BloxBlock.RunBlock () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:114)
BloxEngine.BloxBlock.Run () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock.RunParamBlock (int) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:268)
BloxEngine.BloxBlock.RunParamBlocks () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:253)
BloxEngine.BloxBlock.RunBlock () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:121)
BloxEngine.BloxBlock.Run () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock.RunParamBlock (int) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:268)
BloxEngine.BloxBlock.RunParamBlocks () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:253)
BloxEngine.BloxBlock.RunBlock () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:100)
BloxEngine.BloxBlock.Run () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxEvent.Run () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxEvent.cs:172)
BloxEngine.BloxEventHandler.RunEvent (BloxEngine.BloxEvent,BloxEngine.BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/BloxEventHandler.cs:29)
BloxEngine.BloxEventHandler.RunEvents (System.Collections.Generic.List1<BloxEngine.BloxEvent>,BloxEngine.BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/BloxEventHandler.cs:18) BloxEngine.Common_BloxEventHandler.OnEnable () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/Common_BloxEventHandler.cs:38) BloxEngine.BloxContainer.AttachEventHandlers (BloxEngine.Blox) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxContainer.cs:132) BloxEngine.BloxContainer.AttachComponents (BloxEngine.Blox) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxContainer.cs:78) BloxEngine.BloxContainer.Awake () (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxContainer.cs:69) UnityEngine.Object:invoke(Object, Object[]) BloxEngine.BloxMemberInfo:Invoke(Object, Object[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxMemberInfo.cs:193) BloxEngine.BloxBlock:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:122) BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484) BloxEngine.BloxEvent:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxEvent.cs:172) BloxEngine.BloxEventHandler:RunEvent(BloxEvent, BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/BloxEventHandler.cs:29) BloxEngine.BloxEventHandler:RunEvents(List1, BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/BloxEventHandler.cs:18)
BloxEngine.Common_BloxEventHandler:Start() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/Common_BloxEventHandler.cs:26)

Error in Block [Player(Clone):Targeting:Flow/IF]
A Boolean value was expected in [condition].
UnityEngine.Debug:LogErrorFormat(Object, String, Object[])
BloxEngine.BloxBlock:LogError(String, Exception) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:602)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:29)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock:_RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:523)
BloxEngine.BloxBlock:RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:501)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:34)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock:_RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:523)
BloxEngine.BloxBlock:RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:501)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:34)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock:_RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:523)
BloxEngine.BloxBlock:RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:501)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:34)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxEvent:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxEvent.cs:172)
BloxEngine.BloxContainer:RunEvent(BloxEvent, BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxContainer.cs:284)
BloxEngine.BloxContainer:TriggerEvent(String) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxContainer.cs:159)
BloxEngine.BloxContainer:TriggerEvent(String, Single) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxContainer.cs:200)
BloxEngine.TriggerEvent_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/TriggerEvent_Block.cs:50)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock:_RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:523)
BloxEngine.BloxBlock:RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:501)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:34)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock:_RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:523)
BloxEngine.BloxBlock:RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:501)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:34)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock:_RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:523)
BloxEngine.BloxBlock:RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:501)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:34)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxEvent:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxEvent.cs:172)
BloxEngine.BloxContainer:RunEvent(BloxEvent, BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxContainer.cs:284)
BloxEngine.BloxContainer:TriggerEvent(String) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxContainer.cs:159)
BloxEngine.BloxContainer:TriggerEvent(String, Single) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxContainer.cs:200)
BloxEngine.TriggerEvent_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/TriggerEvent_Block.cs:50)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock:_RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:523)
BloxEngine.BloxBlock:RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:501)
BloxEngine.ElseIF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/ElseIF_Block.cs:51)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxEvent:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxEvent.cs:172)
BloxEngine.BloxEventHandler:RunEvent(BloxEvent, BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/BloxEventHandler.cs:29)
BloxEngine.BloxEventHandler:RunEvents(List`1, BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/BloxEventHandler.cs:18)
BloxEngine.Update_BloxEventHandler:Update() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/Update_BloxEventHandler.cs:16)

Error in Block [Comparison/a > b] used as field of Block [Abilities(Clone):EndAfterDistance:Flow/IF]
The values [] and [20] can’t be compared. One or both values are null and can’t be compared in this manner.
UnityEngine.Debug:LogErrorFormat(Object, String, Object[])
BloxEngine.BloxBlock:LogError(String, Exception) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:597)
BloxEngine.GT_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Comparison/GT_Block.cs:26)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:26)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock:_RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:523)
BloxEngine.BloxBlock:RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:501)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:34)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxBlock:_RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:523)
BloxEngine.BloxBlock:RunChildBlocks() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:501)
BloxEngine.IF_Block:RunBlock() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/Blocks/Flow/IF_Block.cs:34)
BloxEngine.BloxBlock:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxBlock.cs:484)
BloxEngine.BloxEvent:Run() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/BloxEvent.cs:172)
BloxEngine.BloxEventHandler:RunEvent(BloxEvent, BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/BloxEventHandler.cs:29)
BloxEngine.BloxEventHandler:RunEvents(List`1, BloxEventArg[]) (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/BloxEventHandler.cs:18)
BloxEngine.Update_BloxEventHandler:Update() (at D:/DevUnity/_SOURCE/Blox/BloxEngine/Blox/EventHandlers/Update_BloxEventHandler.cs:16)


(Leslie Young) #2

Thanks for report. I’m looking into it.


(Leslie Young) #3

Get 3.4.7 and let me know if you find anything else. Think I found and fixed the main culprit though.


#4

You are a magician Leslie!

Thks for always being reliable, all back to normal now. Have a good week, cheers