Canvas Renderer

Canvas Renderer

202k Downloads

Crash: ArrayIndexOutOfBounds in AoCalculator.blendedInsetData

grondag opened this issue ยท 0 comments

commented

https://hastebin.com/zepasofoni.sql

net.minecraft.util.crash.CrashException: Tesselating block in world - Canvas Renderer
	at grondag.canvas.apiimpl.rendercontext.TerrainRenderContext.tesselateBlock(TerrainRenderContext.java:98) ~[net.fabricmc.yarn.1.canvas-renderer.canvas-0.6.1.281.jar:?]
	at net.minecraft.client.render.chunk.ChunkRenderer.handler$onRebuildChunk$zzl000(ChunkRenderer.java:761) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.render.chunk.ChunkRenderer.rebuildChunk(ChunkRenderer.java) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.render.chunk.ChunkRenderWorker.runTask(ChunkRenderWorker.java:86) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.render.chunk.ChunkBatcher.rebuildSync(ChunkBatcher.java:162) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.render.WorldRenderer.setUpTerrain(WorldRenderer.java:836) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.render.GameRenderer.renderCenter(GameRenderer.java:704) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.render.GameRenderer.renderWorld(GameRenderer.java:654) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.render.GameRenderer.render(GameRenderer.java:489) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:896) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.MinecraftClient.start(MinecraftClient.java:386) [minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:126) [minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_201]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_201]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_201]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_201]
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:170) [net.fabricmc.yarn.1.net.fabricmc.fabric-loader-0.4.8+build.154.jar:?]
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:129) [net.fabricmc.yarn.1.net.fabricmc.fabric-loader-0.4.8+build.154.jar:?]
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26) [net.fabricmc.yarn.1.net.fabricmc.fabric-loader-0.4.8+build.154.jar:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
	at grondag.canvas.light.AoCalculator.blendedInsetData(AoCalculator.java:227) ~[net.fabricmc.yarn.1.canvas-renderer.canvas-0.6.1.281.jar:?]
	at grondag.canvas.light.AoCalculator.blendedPartialFace(AoCalculator.java:246) ~[net.fabricmc.yarn.1.canvas-renderer.canvas-0.6.1.281.jar:?]
	at grondag.canvas.light.AoCalculator.compute(AoCalculator.java:172) ~[net.fabricmc.yarn.1.canvas-renderer.canvas-0.6.1.281.jar:?]
	at grondag.canvas.apiimpl.rendercontext.QuadRenderer.renderQuad(QuadRenderer.java:100) ~[net.fabricmc.yarn.1.canvas-renderer.canvas-0.6.1.281.jar:?]
	at grondag.canvas.apiimpl.rendercontext.FallbackConsumer.renderQuad(FallbackConsumer.java:145) ~[net.fabricmc.yarn.1.canvas-renderer.canvas-0.6.1.281.jar:?]
	at grondag.canvas.apiimpl.rendercontext.FallbackConsumer.accept(FallbackConsumer.java:113) ~[net.fabricmc.yarn.1.canvas-renderer.canvas-0.6.1.281.jar:?]
	at grondag.canvas.apiimpl.rendercontext.FallbackConsumer.accept(FallbackConsumer.java:49) ~[net.fabricmc.yarn.1.canvas-renderer.canvas-0.6.1.281.jar:?]
	at net.minecraft.client.render.model.BakedModel.emitBlockQuads(BakedModel.java:1044) ~[minecraft-1.14.2%20Pre-Release%204-mapped-1.jar:?]
	at grondag.canvas.apiimpl.rendercontext.TerrainRenderContext.tesselateBlock(TerrainRenderContext.java:92) ~[net.fabricmc.yarn.1.canvas-renderer.canvas-0.6.1.281.jar:?]
	... 18 more