MacSergey / NodeMarkup

MIT License
66 stars 15 forks source link

After save and reload the markings are not the same (incompatibility with Node Controller mod?) #144

Closed gaborposz closed 4 years ago

gaborposz commented 4 years ago

Which IMT are you using? Stable, BETA, BETA with Early Access Stable 1.3

What computer OS are you using? (ex: Linux (version), MACOS, Windows (version)) Windows 10 Pro x64

Describe the bug I'm using IMT 1.3 together with Node Controller V2.0 [Beta] to make my highway lanes more realistic. They work together great, but if I quit the game, and later reopen my saved city, then the "Corner smoothness" (set in Node Controller) of the junctions is not applied to markings.

To Reproduce

  1. Set "Corner smoothness" by Node Controller on a highway junction
  2. Create markings with IMT
  3. Save the game, and quit Cities Skylines
  4. Open Cities Skylines, and reload the saved city

Expected behavior The markings look the same as before.

Screenshots Before saving and leaving the game: BeforeSave

After reloading the saved city: AfterRestart

Additional information The markings are restored if I select the junction by Node Controller, because then the "marking points" gets updated. The problem can be also in the Node Controller mod, but it's hard to judge, so I started here as the problem is with the markings. I'm using TM:PE [Stable], not the [Labs] version, but I doubt that it has anything to do with this particular problem.

MacSergey commented 4 years ago

Is your simulation on pause? Have you tried pressing play?

gaborposz commented 4 years ago

Starting the simulation doesn't help.

But interestingly, if I quit to main menu, and load the saved game again, then it gets fixed.

Seems to be a kind of "initialization order" problem: When IMT is initialized first, then the Node Controller mod's "corner smoothness" is not applied yet, so the markings are still using the original coordinates. But if I load the city again, then the Node Controller mod is the first, thus the markings are placed correctly.

gaborposz commented 4 years ago

Closed without resolution? :(

MacSergey commented 4 years ago

@gaborposz It's Node Controller problem