question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception on saving an asset in Asset Editor ~~if it is not an intersection~~

See original GitHub issue

Fixed in TM:PE 11.6.5.2

Describe the problem

The user reported issue that creating parking spot asset in the Asset Editor fails to save

System.NullReferenceException: Object reference not set to an instance of an object
at TrafficManager.State.Asset.AssetData.GetPathsNetworkIDs (.BuildingInfo prefab) [0x00000] in <filename unknown>:0
at TrafficManager.State.Asset.AssetData.GetAssetData (.BuildingInfo prefab) [0x00000] in <filename unknown>:0
at TrafficManager.Lifecycle.AssetDataExtension.OnAssetSavedImpl...

Steps to reproduce (not confirmed yet)

  1. Open Asset Editor
  2. Try creating asset of different type than intersection
  3. Check log for errors after asset save

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kianzarrincommented, Apr 2, 2022

my guess is if there are zero segments then we should not serialize anything. that would fix the problem.

1reaction
kianzarrincommented, Mar 26, 2022

Oh so no networks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Discussions
Recently, I have been unable to use Asset Editor to create a new asset. ... fix the inablility to save changes in the...
Read more >
Is it possible to fix asset error due to too many props?
Try to open it at asset editor and error shown, and field remain plain... Does not load... Cannot modify it... That is why...
Read more >
Hiway intersections not showing in map editor and other ...
Problem with duplicate intersection asset entries and only 1 file.crp The game thinks there's multiple copies of an asset that I'm trying to...
Read more >
How to fix missing assets Cities Skylines and should you?
NOTE - https://steamcommunity.com/sharedfiles/filedetails/?id=2731207699 You will want to use this mod until the creator updates the oringal ...
Read more >
Cities: Skylines - Better Intersections with Asset Editor - YouTube
Better Intersections with Asset Editor | Cities Skylines Tutorial ... If you enjoy my videos and would like to see more, please hit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found