Recently attempted to replicate a jeep by using the same method and I keep getting this error when I create a game and yet the icon is in the right place (bits folder) along with its shp for the actual vehicle. I know I've done something wrong but being new to this I cannot pin point where I've gone wrong.
And yeah, necro post but I thought it was probably something small that it wouldn't need a new thread.
Code: Select all
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: File not found: lrpvicon
File name: 'lrpvicon'
at OpenRA.FileFormats.FileSystem.OpenWithExts(String filename, String[] exts)
at OpenRA.Graphics.SpriteLoader.LoadSprites(String filename)
at OpenRA.FileFormats.Cache`2.get_Item(T key)
at OpenRA.Graphics.SpriteLoader.LoadAllSprites(String filename)
at OpenRA.Mods.RA.Widgets.BuildPaletteWidget.<BuildPaletteWidget>m__2D3(ActorInfo u)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at OpenRA.Mods.RA.Widgets.BuildPaletteWidget..ctor(World world, WorldRenderer worldRenderer)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OpenRA.ObjectCreator.CreateUsingArgs(ConstructorInfo ctor, Dictionary`2 args)
at OpenRA.ObjectCreator.CreateObject[T](String className, Dictionary`2 args)
at OpenRA.WidgetLoader.NewWidget(String widgetType, WidgetArgs args)
at OpenRA.WidgetLoader.LoadWidget(WidgetArgs args, Widget parent, MiniYamlNode node)
at OpenRA.WidgetLoader.LoadWidget(WidgetArgs args, Widget parent, MiniYamlNode node)
at OpenRA.WidgetLoader.LoadWidget(WidgetArgs args, Widget parent, String w)
at OpenRA.Widgets.Ui.OpenWindow(String id, WidgetArgs args)
at OpenRA.Game.OpenWindow(World world, String widget)
at OpenRA.Mods.RA.OpenWidgetAtGameStart.WorldLoaded(World world)
at OpenRA.World..ctor(Manifest manifest, Map map, OrderManager orderManager)
at OpenRA.Game.StartGame(String mapUID, Boolean isShellmap)
at OpenRA.Network.UnitOrders.ProcessOrder(OrderManager orderManager, World world, Int32 clientId, Order order)
at OpenRA.Network.OrderManager.TickImmediate()
at OpenRA.Game.<Tick>c__AnonStorey39.<>m__96()
at OpenRA.Sync.<CheckSyncUnchanged>c__AnonStorey30.<>m__65()
at OpenRA.Sync.CheckSyncUnchanged[T](World world, Func`1 fn)
at OpenRA.Sync.CheckSyncUnchanged(World world, Action fn)
at OpenRA.Game.Tick(OrderManager orderManager)
at OpenRA.Game.Tick(OrderManager orderManager, Viewport viewPort)
at OpenRA.Game.Run()
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)
Cheers for any insight into it.
Edit: Fixed it somehow, might of been miss-pelt it.
