Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Rogue Legend 2

Run a farm, a shop, or dungeons with friends · By Kassoon

Just booted up the new update, got some errors in the dev console for you. Seems to be related to biomes.

A topic by Blitzalp created Jun 14, 2020 Views: 50 Replies: 2
Viewing posts 1 to 3
(3 edits)

This is just a screenshot of some weird visuals going on:

Unable to spawn biome: System.IndexOutOfRangeException: Array index is out of range.
  at System.Collections.Generic.Queue`1[IntPoint4].Enqueue (IntPoint4 item) [0x00045] in /Users/builduser/buildslave/mono/build/mcs/class/System/System.Collections.Generic/Queue.cs:164 
  at Biomes.fillTown (Int32 chunkX, Int32 chunkY, Int32 chunkZ, System.Random rand) [0x006cb] in C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\Terrain\Biomes.cs:404 
  at World.genChunks (Int32 chunkX, Int32 chunkY, Int32 chunkZ, Boolean skipSpawns, .Chunk targetChunk, Boolean addToChunk) [0x00791] in C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\World.cs:2850 
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
World:genChunks(Int32, Int32, Int32, Boolean, Chunk, Boolean) (at C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\World.cs:2852)
Chunk:cacheData(Object) (at C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\Terrain\Chunk.cs:1477)
 
(Filename: C:/Users/kasso/Desktop/Flash/RogueLegend2/Assets/Scripts/World/World.cs Line: 2852)

Unable to spawn biome: System.IndexOutOfRangeException: Array index is out of range.
  at System.Collections.Generic.Queue`1[IntPoint4].Enqueue (IntPoint4 item) [0x00045] in /Users/builduser/buildslave/mono/build/mcs/class/System/System.Collections.Generic/Queue.cs:164 
  at Biomes.fillTown (Int32 chunkX, Int32 chunkY, Int32 chunkZ, System.Random rand) [0x006cb] in C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\Terrain\Biomes.cs:404 
  at World.genChunks (Int32 chunkX, Int32 chunkY, Int32 chunkZ, Boolean skipSpawns, .Chunk targetChunk, Boolean addToChunk) [0x00791] in C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\World.cs:2850 
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
World:genChunks(Int32, Int32, Int32, Boolean, Chunk, Boolean) (at C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\World.cs:2852)
Chunk:cacheData(Object) (at C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\Terrain\Chunk.cs:1477)
 
(Filename: C:/Users/kasso/Desktop/Flash/RogueLegend2/Assets/Scripts/World/World.cs Line: 2852)

Unable to spawn biome: System.IndexOutOfRangeException: Array index is out of range.
  at System.Collections.Generic.Queue`1[IntPoint4].Enqueue (IntPoint4 item) [0x00045] in /Users/builduser/buildslave/mono/build/mcs/class/System/System.Collections.Generic/Queue.cs:164 
  at Biomes.fillTown (Int32 chunkX, Int32 chunkY, Int32 chunkZ, System.Random rand) [0x006cb] in C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\Terrain\Biomes.cs:404 
  at World.genChunks (Int32 chunkX, Int32 chunkY, Int32 chunkZ, Boolean skipSpawns, .Chunk targetChunk, Boolean addToChunk) [0x00791] in C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\World.cs:2850 
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
World:genChunks(Int32, Int32, Int32, Boolean, Chunk, Boolean) (at C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\World.cs:2852)
Chunk:cacheData(Object) (at C:\Users\kasso\Desktop\Flash\RogueLegend2\Assets\Scripts\World\Terrain\Chunk.cs:1477)
 
(Filename: C:/Users/kasso/Desktop/Flash/RogueLegend2/Assets/Scripts/World/World.cs Line: 2852)



Extra notes;

seed: 526532296

The error messages at least should be fixed in the next update, thanks for the report!

Cool :) and no probs!

moved this topic to Closed