FritzsHero / RoadArchitect

Road Architect for Unity; Development is ongoing but slow; Also available at GitLab: https://gitlab.com/FritzsHero/roadarchitect
MIT License
286 stars 61 forks source link

Update all roads take infinite time! #27

Closed parvanehAghajani closed 1 year ago

parvanehAghajani commented 3 years ago

Hello, Thank you for maintaining this interesting project! I am trying to create roads and intersections in the script. Based on the RoadAutomation descriptions, I set "isAllowingRoadUpdates" to false, after calling "CreateRoadProgrammatically", and "CreateIntersectionsProgrammaticallyForRoad", I set "isAllowingRoadUpdates" to true and call the "UpdateAllRoads()". But the "UpdateAllRoads()" function takes forever!! How can I solve this issues?

Thank you

FritzsHero commented 3 years ago

Hi,

I think you use this in play mode or ingame? The creation of roads was limited to the edit mode in previous versions. Currently there is no such limitation, but I did not test anything in this direction. It looks like there are currently issues in the edit mode. Probably I can fix this shortly. Stay tuned!

Best Regards

Fritzs

parvanehAghajani commented 3 years ago

Hello @FritzsHero

I am creating the roads in the play mode.

Thank you, Parvaneh

FritzsHero commented 1 year ago

This works since a few versions. Closing this issue.