Cities: Skylines

Cities: Skylines

[UI] Silicon Skin V1.0
kokonut  [developer] 16 Apr, 2015 @ 3:29am
Bug Report
all bug report put here: :)
< >
Showing 1-8 of 8 comments
signul 16 Apr, 2015 @ 8:44am 
A small bug relating to filenames on Mac/Linux:

The file
_SapphireSkin/Modules/TSbar.xml
is referred to in the skin as TSBar.xml (note the capital B). When loading the skin using Sapphire on a Mac/Linux machine, it refuses to parse with a System.IO.FileNotFoundException.

It crashes the skin on loading when using a case-sensitive system. Windows doesn't care about capitals, so it can't be reproduced on a Windows machine; I am using Linux, which is case-sensitive. Renaming the TSbar.xml file as TSBar.xml fixes the issue.

Great work on the skin by the way. Now I can finally imagine C:S as what SimCity 2013 was supposed to look like!
kokonut  [developer] 16 Apr, 2015 @ 8:51am 
@BETA-Warrior thanks for the report and will fixed in the coming update
Dudekahedron 16 Apr, 2015 @ 6:56pm 
Playing earlier, my icons disappeared as sometimes happens, and I did a ctrl-S refresh. This immediately popped up:

System.Reflection.TargetInvocationException during skin "Silicon" rollback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Array index is out of range.
at ColossalFramework.UI.UIMultiStateButton+SpriteSetState.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.get_normalBgSprite () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.GetBackgroundSprite () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.CalculateMinimumSize () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.set_size (Vector2 value) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator+<>c__DisplayClass3.<SetPropertyValueWithRollback>b__1 () [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.RollbackInternal () [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.Rollback () [0x00000] in <filename unknown>:0
EM19 24 Apr, 2015 @ 4:03am 
Hello Kokonut, I recieved the exact same error as Dudek.

System.Reflection.TargetInvocationException during skin "Silicon" rollback: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException:
at (wrapper managed-to-native) UnityEngine.Component:get_gameObject ()
at ColossalFramework.UI.UIComponent.GetUIView () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.Invalidate () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UILabel.Invalidate () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UITextComponent.set_textColor (Color32 value) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator+<>c__DisplayClass3.<SetPropertyValueWithRollback>b__1 () [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.RollbackInternal () [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.Rollback () [0x00000] in <filename unknown>:0
BLÀde 26 Apr, 2015 @ 9:41pm 
wheres my $ gone? it doesnt show how much $ i have it's just blank? also there are no scroll arrows in the parks menu.
Demani 25 May, 2015 @ 4:10am 
System.Reflection.TargetInvocationException while applying skin module "D:\Program Files (x86)\Steam\steamapps\workshop\content\255710\424995783\_SapphireSkin\Modules/InfoPanel.xml": System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Array index is out of range.
at ColossalFramework.UI.UIMultiStateButton+SpriteSetState.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.get_normalBgSprite () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.GetBackgroundSprite () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIMultiStateButton.CalculateMinimumSize () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.set_size (Vector2 value) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayoutAbsolute (Vector2 parentSize, Vector2 componentSize) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayoutInternal () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayout () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.PerformLayout () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.OnSizeChanged () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.set_size (Vector2 value) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayoutProportional (Vector2 parentSize, Vector2 componentSize) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayoutInternal () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIAnchorLayout.PerformLayout () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.PerformLayout () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.OnSizeChanged () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIComponent.set_size (Vector2 value) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.SetPropertyValue (System.Object component, System.Reflection.PropertyInfo property, System.Object value) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.SetPropertyValueWithRollback (System.Object component, System.Reflection.PropertyInfo property, System.Object value) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.SetPropertyValue (System.Xml.XmlNode setNode, System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component, Boolean optional, Boolean rollback) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.ApplyGenericProperty (System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.ApplyInternalRecursive (System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinModule.WalkModuleInternalRecursive (Sapphire.ModuleWalkCallback visitor, System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinModule.ApplyComponentSelector (Sapphire.ModuleWalkCallback visitor, System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinModule.WalkModuleInternalRecursive (Sapphire.ModuleWalkCallback visitor, System.Xml.XmlNode node, ColossalFramework.UI.UIComponent component) [0x00000] in <filename unknown>:0
at Sapphire.SkinModule.WalkModule (Sapphire.ModuleWalkCallback visitor) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.ApplyInternal (Sapphire.SkinModule skinModule) [0x00000] in <filename unknown>:0
at Sapphire.SkinApplicator.Apply (System.Collections.Generic.List`1 skinModules) [0x00000] in <filename unknown>:0
Pepino 11 Jan, 2016 @ 12:38pm 
I am getting this bug on Ubuntu 15.10. Please help!


Sapphire.MissingUIComponentException while applying skin module "/media/pepino/Kingston/SteamLibrary2/steamapps/workshop/content/255710/424995783/_SapphireSkin/Modules/TSbar.xml" at node "<Component name="TSBar">
<Component name="ZoomButton">..</Component
</Component>
": Missing UI component - "ZoomButton" with parent "TSBar"
KoenderB 4 May, 2016 @ 7:44am 
I run on Windows 10. But I've seen many more people with this one:

Quartz.MissingUIComponentException while applying skin module "C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\424995783\_SapphireSkin\Modules/TSbar.xml" at node "<Component name="TSBar">
<Component name="ZoomButton">..</Component
</Component>
": Missing UI component - "ZoomButton" with parent "TSBar"
< >
Showing 1-8 of 8 comments
Per page: 1530 50