Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
System.NullReferenceException: Object reference not set to an instance of an object
at ColossalFramework.UI.UIDynamicFont+DynamicFontRenderer.Obtain (ColossalFramework.UI.UIDynamicFont font) [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UIDynamicFont.ObtainRenderer () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UILabel.ObtainRenderer () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UILabel.Invalidate () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UILabel.OnTextChanged () [0x00000] in <filename unknown>:0
at ColossalFramework.UI.UILabel.set_text (System.String value) [0x00000] in <filename unknown>:0
at SimulationSpeedBenchmark.Threading.OnAfterSimulationFrame () [0x00000] in <filename unknown>:0
at HealkitMod.Patches.ThreadingWrapperOnAfterSimulationFramePatch.Prefix (System.Collections.Generic.List`1 ___m_ThreadingExtensions) [0x00000] in <filename unknown>:0
I played with only two mods enabled: Simulation Speed Benchmark + Extended Error Reporting, and got an error. So probably it isn't a mod compatibility issue.
I don't have a GPU and use the Intel graphics card, so this might be the cause.
The difficulty is reproducibility. This error occurs very randomly. After the error happens, sometimes I can continue the game by closing the popup, but sometimes the same popup reappears immediately and can't go back to the game forever.
IMO the bug is not so crucial, because the error happens very rarely (1/hour) and does not break the save.
I will paste the error message to the next post.
This is no error for me.
https://imgur.com/Fpj4Miv
Maybe this conflicts with other mods? It shouldn't be called "broken".
And Monitor it mod only displays the frame rate and memory usage, That is not for benchmarking.
Replace with:Monitor It!
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1804882663
=)
now we need only a way to split the values for the default game and all the different mods :)
Benchmark:
-day= 9.1
-night= 8.6
@vokepasa21 I also have the GTX 970 and I think my framerate sucks. If you have some clue whether it's actually the GPU, could you let me know? Cheers
But to really make sure it's VRAM try lowering the graphical settings in your big city and see of the problem persists. It should go away because by lowering your graphical settings you will be using lower quality, and thus smaller in MB, graphical objects so everything will fit into your high speed VRAM (and not in the slower VRAM of the 970 or in system memory) and thus your graphics card will be able to access it faster.
If you have any ideas for me to test to make sure VRAM is the problem let me know. Appreciate your help!
I'm running a i7-4790K with 32 GB ram on a GTX 970. I have recently bought more RAM thinking this was the issue, and it has made some difference in loading times and general performance but the stuttering is still there. The only thing I see constantly at max usage is the VRAM, and the 970 is known to have issues when using the last 500Mb of the VRAM. The stuttering happens every 10 seconds more or less and it's always very short, just one second, but it's annoying, because between hiccups the performance is very smooth. Time to save for a 8gb graphics card? :S
Thanks for your help with this mod and your answer!
Stuttering shouldn't have much to do with the time the simulation takes. I am not an expert in this so don't quote me on this but the graphics and the simulation are done in different threads so unless your cpu has too few cores they shoudn't interfere much with each other. To make sure that they don't interfere simply pause the simulation and see if the stuttering continues.
To see which one (the cpu or the gpu) is bottlenecking your system open GPU-Z or other utility and see if your GPU usage. If it's below 100% your cpu is bottlenecking.
@FourteenChief No, a frame is a simulation tick. It's how the game calculates everything. (https://gamedev.stackexchange.com/questions/81608/what-is-a-tick-in-the-context-of-game-development) . This mod just measures the time it takes for your computer to calculate each frame. The smaller the number, the less time your computer takes to compute each tick. I did this mod basically so people can measure the impact each mod has on the simulation time.
Do mods affect the amount of "frames"? If that´s the case this mod will be very useful I guess.
Because I use rush hour.