cookgreen / Yuris-Revenge

A Red Alert 2 Yuri's Revenge mod for OpenRA Engine
https://forum.openra.net/viewtopic.php?t=20776
GNU General Public License v3.0
159 stars 30 forks source link

Crash when build "gagap" #153

Closed Tx-Charlie closed 4 years ago

Tx-Charlie commented 4 years ago

When build a allied's structure gagap (gap generater, 裂缝产生器). The game would get crashed. And get following messages on console:

Exception of type `System.InvalidOperationException`: Unit `gagap` does not have a sequence named `make`
    at OpenRA.Graphics.SequenceProvider.GetSequence (System.String unitName, System.String sequenceName) [0x00057] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Graphics.Animation.GetSequence (System.String sequenceName) [0x0000c] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Graphics.Animation.PlaySequence (System.String sequenceName) [0x00000] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Graphics.Animation.PlayThen (System.String sequenceName, System.Action after) [0x00022] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Mods.Common.Traits.Render.WithSpriteBody.PlayCustomAnimation (OpenRA.Actor self, System.String name, System.Action after) [0x0002e] in <2534b193b56142beb3697d5a201b8409>:0 
    at OpenRA.Mods.Common.Traits.Render.WithMakeAnimation.Forward (OpenRA.Actor self, System.Action onComplete) [0x00074] in <2534b193b56142beb3697d5a201b8409>:0 
    at OpenRA.Mods.Common.Traits.Render.WithMakeAnimation.OpenRA.Traits.INotifyCreated.Created (OpenRA.Actor self) [0x00014] in <2534b193b56142beb3697d5a201b8409>:0 
    at OpenRA.Actor.Created () [0x0001c] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.World.CreateActor (System.Boolean addToWorld, System.String name, OpenRA.Primitives.TypeDictionary initDict) [0x00009] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.World.CreateActor (System.String name, OpenRA.Primitives.TypeDictionary initDict) [0x00000] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Mods.Common.Traits.PlaceBuilding+<>c__DisplayClass4_0.<OpenRA.Traits.IResolveOrder.ResolveOrder>b__0 (OpenRA.World w) [0x00609] in <2534b193b56142beb3697d5a201b8409>:0 
    at OpenRA.World.Tick () [0x001a9] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Game.InnerLogicTick (OpenRA.Network.OrderManager orderManager) [0x001bc] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Game.LogicTick () [0x0003e] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Game.Loop () [0x000e3] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Game.Run () [0x0003c] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00010] in <2f000555dfff46ee86468a6553e185a3>:0 
    at OpenRA.Program.Main (System.String[] args) [0x00044] in <2f000555dfff46ee86468a6553e185a3>:0 

I checked Yuris-Revenge/mods/yr/sequences/allied-structures.yaml. But I find gagap has the make.