Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings from stable (10.20) not picked up by v11 #447

Closed
originalfoo opened this issue Jul 21, 2019 · 8 comments
Closed

Settings from stable (10.20) not picked up by v11 #447

originalfoo opened this issue Jul 21, 2019 · 8 comments
Labels
11 ALPHA TM:PE v11 alpha edition BUG Defect detected EXTERNAL Mod conflict or other external factor LABS TM:PE LABS branch wontfix Proposal rejected

Comments

@originalfoo
Copy link
Member

Note: This could be duplicate mod issue, I've asked user to check.

Termite:
Also noticed another thing. Any per game settings or changes to junctions etc done in the stable do not seem to get picked up by alpha.

@originalfoo originalfoo added BUG Defect detected awaiting feedback More information required 11 ALPHA TM:PE v11 alpha edition and removed awaiting feedback More information required labels Jul 21, 2019
@originalfoo
Copy link
Member Author

Termite 32 minutes ago
No only one version subscribed. But I will try a restart to see if it works.

@originalfoo originalfoo added the LABS TM:PE LABS branch label Jul 28, 2019
@originalfoo
Copy link
Member Author

Had a user reporting same issue on LABS v10.21.1 so it could possibly be an issue that something from 10.20 or earlier is causing load error on 10.21 and later?

Did we add or change any settings in 10.21 and above?

@originalfoo
Copy link
Member Author

originalfoo commented Jul 28, 2019

From output log above:

[Warning] @ 3694829667 SpeedLimitManager.OnBeforeLoadData: NetInfo @ 71 is null!
   at CSUtil.Commons.Log.LogToFile(System.String log, LogLevel level)
   at CSUtil.Commons.Log.Warning(System.String s)
   at TrafficManager.Manager.Impl.SpeedLimitManager.OnBeforeLoadData()
   at TrafficManager.State.SerializableDataExtension.OnLoadData()
   at SerializableDataWrapper.OnLoadData()
   at SimulationManager.LateUpdateData(UpdateMode mode, Single minProgress, Single maxProgress)
   at SimulationManager.Managers_LateUpdateData(UpdateMode mode, Single minProgress, Single maxProgress)
   at LoadingManager+<LoadSimulationData>c__IteratorB.MoveNext()
   at AsyncTask.Execute()
   at SimulationManager.SimulationStep()
   at SimulationManager.SimulationThread()

[Warning] @ 3694895597 SpeedLimitManager.OnBeforeLoadData: NetInfo @ 72 is null!
   at CSUtil.Commons.Log.LogToFile(System.String log, LogLevel level)
   at CSUtil.Commons.Log.Warning(System.String s)
   at TrafficManager.Manager.Impl.SpeedLimitManager.OnBeforeLoadData()
   at TrafficManager.State.SerializableDataExtension.OnLoadData()
   at SerializableDataWrapper.OnLoadData()
   at SimulationManager.LateUpdateData(UpdateMode mode, Single minProgress, Single maxProgress)
   at SimulationManager.Managers_LateUpdateData(UpdateMode mode, Single minProgress, Single maxProgress)
   at LoadingManager+<LoadSimulationData>c__IteratorB.MoveNext()
   at AsyncTask.Execute()
   at SimulationManager.SimulationStep()
   at SimulationManager.SimulationThread()

also:

[Info] @ 4252714141 ThreadingExtension.OnBeforeSimulationFrame: First frame detected. Detours checked. Result: 0 missing detours

@krzychu124
Copy link
Member

I don't see the problem, everything was loaded correctly, no errors...

Initialization done. Loading mod data now.
[Info] @ 3769125080 Loading Data from New Load Routine! Length=1437385
[Info] @ 3785316010 Loading State from Config
[Info] @ 3785375013 Loading 12339 extended citizens
[Info] @ 3785750708 Loading 22137 extended citizen instances
[Info] @ 3785880572 Priority segments data structure (old) undefined!
[Info] @ 3785941471 Loading 51 priority segments (new method)
[Info] @ 3786081451 Loading parking restrictions data. 2 elements
[Info] @ 3786144699 Loading lane vehicle restriction data. 28 elements
[Info] @ 3786247233 Loading 12 timed traffic lights (new method)
[Info] @ 3786993031 Loading junction traffic light data (old method)
[Info] @ 3787067079 Loading toggled traffic lights (new method)
[Info] @ 3787122885 Lane arrow data structure (old) undefined!
[Info] @ 3787188394 Loading lane arrow data (new method)
[Info] @ 3787422637 Loading 373 lane connections
[Info] @ 3787946911 Loading custom default speed limit data. 0 elements
[Info] @ 3788014412 Loading lane speed limit data. 0 elements
[Info] @ 3788072917 Loading junction restrictions. 108 elements
[Info] @ 3829657903 OnLoadData completed successfully.

@krzychu124
Copy link
Member

krzychu124 commented Jul 28, 2019

NetInfo @ 71 is null! looks like invalid/missing road network asset (has nothing to do with settings loading process)

@originalfoo
Copy link
Member Author

Possibly related - @kianzarrin mentioned this in discord:

biffa says upgrading to TMPE Labs will remove all traffic rules:
https://youtu.be/_TdEIarNXWk?t=271

@originalfoo
Copy link
Member Author

Looks like the issue is due to the "zombie assemblies" bug: #211 (comment)

Only way the reported issue has been reproduced so far is as follows:

@kianzarrin :
Regarding the loss of the data when migrating from TMPE stable to labs...
Short version: when migrating to TMPE labs, you must restart the game before loading the save again.
Long version: I did some tests and manage to reproduce the problem - Steps to reproduce:

  1. uninstall all mods.
  2. install TMPE stable
  3. create a new city with one junction.
  4. setup some junction restrictions.
  5. save the city
  6. exit to main menu.
  7. uninstall TMPE stable
  8. install TMPE labs
  9. load the saved game from main menu (do not exit to desktop)
  10. all traffic rules that I had setup were gone!
  11. Exit to desktop WITHOUT saving. (If you save here I suspect you will loose your data > permanently.)
  12. run the game and load the same city again.
  13. all traffic rules are there

@originalfoo originalfoo added the EXTERNAL Mod conflict or other external factor label Dec 13, 2019
@originalfoo
Copy link
Member Author

Both LABS and ALPHA workshop pages have been updated to make it clearer that exit to desktop is required after changing between versions.

@originalfoo originalfoo added the wontfix Proposal rejected label Dec 13, 2019
@originalfoo originalfoo added this to the Not Applicable milestone Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11 ALPHA TM:PE v11 alpha edition BUG Defect detected EXTERNAL Mod conflict or other external factor LABS TM:PE LABS branch wontfix Proposal rejected
Projects
None yet
Development

No branches or pull requests

2 participants