1 (edited by stina.flodstrom 2019-08-08 14:18:18)

Topic: Buildr2 crashes when generating buildings

Hey,
I'm generating a map with Buildr2 (2.27) using default settings. Buildr2 crashes when it's about 74% in and the generation process stops. Buildings appear in the map but Real worlds doesn't go on to generate roads after that.

Error message:
Input string was not in a correct format.
  at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00057] in <1f0c1ef1ad524c38bbc5536809c46b48>:0

  at System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00013] in <1f0c1ef1ad524c38bbc5536809c46b48>:0

  at System.Int32.Parse (System.String s) [0x00007] in <1f0c1ef1ad524c38bbc5536809c46b48>:0

  at InfinityCode.RealWorldTerrain.Generators.RealWorldTerrainBuildR2Generator.CreateBuilding (InfinityCode.RealWorldTerrain.RealWorldTerrainContainer globalContainer, InfinityCode.RealWorldTerrain.OSM.RealWorldTerrainOSMWay way) [0x00356] in C:\Depot\Assets\Infinity Code\Real World Terrain\Scripts\Editor\Generators\RealWorldTerrainBuildR2Generator.cs:116

  at InfinityCode.RealWorldTerrain.Generators.RealWorldTerrainBuildR2Generator.Generate (InfinityCode.RealWorldTerrain.RealWorldTerrainContainer globalContainer) [0x001b7] in C:\Depot\Assets\Infinity Code\Real World Terrain\Scripts\Editor\Generators\RealWorldTerrainBuildR2Generator.cs:194

  at InfinityCode.RealWorldTerrain.Phases.RealWorldTerrainGenerateBuildingsPhase.Enter () [0x000db] in C:\Depot\Assets\Infinity Code\Real World Terrain\Scripts\Editor\Phases\RealWorldTerrainGenerateBuildingsPhase.cs:50

  at InfinityCode.RealWorldTerrain.Windows.RealWorldTerrainWindow.Update () [0x00011] in C:\Depot\Assets\Infinity Code\Real World Terrain\Scripts\Editor\Windows\RealWorldTerrainWindow.cs:433
UnityEngine.Debug:LogError(Object)
InfinityCode.RealWorldTerrain.Windows.RealWorldTerrainWindow:Update() (at Assets/Infinity Code/Real World Terrain/Scripts/Editor/Windows/RealWorldTerrainWindow.cs:437)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Re: Buildr2 crashes when generating buildings

Hello.

Thank you for the bug report.

It looks like in your area for one of the buildings a tag with the number of floors is corrupted.
I made changes and now the corrupted tags will be ignored.

The new version will be available through the built-in update system in 2-3 hours.
In Asset Store, the new version is likely to be available tomorrow.

Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!

Re: Buildr2 crashes when generating buildings

Great, it works now