Cities: Skylines

Cities: Skylines

ClearUI - Quartz Skin 16:9 / 16:10
This topic has been locked
tempest420 25 Apr, 2015 @ 12:17pm
Bug report 4/25
Got this after reloading a save. It didn't show up when I first started the game and loaded my save.

System.Reflection.TargetInvocationException during skin "ClearUI" 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
< >
Showing 1-11 of 11 comments
Muspell (Banned) 25 Apr, 2015 @ 12:18pm 
i get the same
DudeFromTheHills  [developer] 25 Apr, 2015 @ 12:35pm 
that's weird, I'll check immediately
DudeFromTheHills  [developer] 25 Apr, 2015 @ 1:08pm 
Just checked, can't reproduce this bug. I'll update the skin anyway in about 1 hour just to make sure the version that id working for me is exactly the same that's on the workshop.

Your issue might be caused by another mod that somehow interfers with ClearUI. I know it's kind of a big request but it would be nice to have a list of the mods you are running.
With that information I might be able to reproduce this error.

Sorry for breaking the skin again. :(
Muspell (Banned) 25 Apr, 2015 @ 1:45pm 
All Areas Purchaseable
Ambient Occlusion
Autoline Color
Automatic Bulldoze
Autosave
Better Budget
City Vitals
ClearUI
Cliff Decoration Remover
Control Building Level Up
Dynamic Resolution
Extended Buidling Information
Extended Public Transport UI
Fine Road Hights
First Person Camera
German Roads
Help Button Remover
Hide Policy Icons
HideUI
Improved Public Transport (switching with trasport Capacity cause of testing, sry)
Infinte Oil and Ore
New Game Plus
No More Purple(ground)
No More Purple[Green Water]
No Pillars
One Way Street Arrows
Persistent Resource View
Post ProcessFX
Road Color Changer
Silicon(sapphire)
Slope Limiter
Steeper Slope & Higher Bridges
Sun Shaft
Super Chirper
Terraform Tool
Traffic Manager
Traffic Report Tool
Tree Brush
Unlock All(while Testing other Stuff)
DudeFromTheHills  [developer] 25 Apr, 2015 @ 1:51pm 
Thanks a lot! Unfortunately I won't be able to check all these mods right now, I'm really tired and need some sleep soon. ;)

But I'll check them tomorrow, hopefully one of those causes the crash (well, "hopefully" just if the upcoming fix doesn't work).
NZ_Wanderer 25 Apr, 2015 @ 1:53pm 
Confirmed, if I load a save, then reload that same save a second time from within the game I get:

System.Reflection.TargetInvocationException during skin "ClearUI" 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

I also took a screenshot as it seems reloading the save mucks up a couple of things (look at the menu icon top right, and also the original traffic manager one reappears even tho your one is still there)

http://images.akamai.steamusercontent.com/ugc/539646937851231071/FAD0BEC734560142103CC17AADF0C4882E340393/

List of my mods are:

Activated Mods:
All Areas Purchaseable (by tomdotio)
Auto Line Color (by phil.scott)
Autosave (by oOlami)
Better Load Panel (by brittany)
Chirper position changer (by MrLawbreaker)
City Vitals Watch (by undergroundhero)
ClearUI (by s i c)
Configurable citizen aging speed (by Nohealforu)
Enable achievements (by coolvid69)
Extended public transport UI (by acidfire)
Extended road upgrade (by Wiliz)
Fill the houses (by nohealforu)
First Person Camera (by nlight)
Image overlay (by natural selection)
Improved assetspanel (by nlight)
Improved mods panel (by nlight)
Infinite Oil and Ore (by nohealoru)
Persistent Resource View (by Zuppi)
Sapphire (by nlight)
Services optimization Module (by soda)
Slow trash Production (by Nohealforu)
Terraform Tool (by rollo)
Traffic Manager (by CBeTHaX)
Transport Capacity (by apocdev)
Tree Brush (by destroyer)
Unlock Basic roads (by BlueSteelAUS)

NOT Activated Mods, but still in list:
Citizen Tracker (by CNightwing)
Emerald (by nlight)
Hard Mode (by CO)
Unlimited Money (by CO)
Unlock all (By CO)
NZ_Wanderer 25 Apr, 2015 @ 1:58pm 
hehe just noticed too that chirper is nowhere to be seen (both in first save and in second save loads... - can still hear him tho.. :P
Go to bed, we can still play using the skin :)
Last edited by NZ_Wanderer; 25 Apr, 2015 @ 2:17pm
DudeFromTheHills  [developer] 25 Apr, 2015 @ 2:27pm 
Nope, I won't go to bed before I answered! :p

I have a good news (okay, let's call it a "not so bad news") and a bad one.

"Not so bad news" is, that players encounter the same issue with silicon as it seems. At least there are the same bug reports on its workshop page.
And that's where the bad news appears: I think it might be a bug in Sapphire itself that just has been found.
I'll check again tomorrow if I can fix it myself. If I can't I will contact nlight, hope he can do something about it.

So there won't be another update today, would be pointless.

But thanks for the mod lists, gives me something to do besides bugfixing. :D

EDIT:
Almost forgot the most important thing: Chirper isn't visible because I made him disappear. It's magic! ;)
He will be back in the next update. :)
Last edited by DudeFromTheHills; 25 Apr, 2015 @ 2:29pm
Muspell (Banned) 25 Apr, 2015 @ 2:32pm 
thx alot for ur work!!! im sureyou and nlight will find a solution for this soon :)

Gn8
NZ_Wanderer 25 Apr, 2015 @ 2:51pm 
Invisible Chirper is just ..... ummm dangerous... - That blue bird could get upto all sorts of mischief with our cities and we not know it until too late :P - Never thought I would say this, but it will be good to have him back :)
tempest420 26 Apr, 2015 @ 9:50am 
@s i c Thanks for taking the time to figure this out. I wanted to add that, similar to simplicity's screenshot above, where traffic manager bugs out, the no pillars mod does too. The skinned buttons show up along with the original ones.
< >
Showing 1-11 of 11 comments
Per page: 1530 50