Jump to content

The game crashed whilst rendering overlay (All the Mods 7 - To the Sky)


bigbilly5

Recommended Posts

I open the game, loads to around 9 stars and then it stays on not responding for a while, using 100% of my CPU and after crashes and gives the following error.

Error Message:

The game crashed whilst rendering overlay Error: net.minecraftforge.fml.ModLoadingException: ConnectedTexturesMod (ctm) encountered an error during the done event phase Exit Code: -1

Crash report:

https://pastebin.com/wcZszy5x

 

PC Specs (Doubt this would be a problem at all):

- R9 5900x

- 3090

- 32gb ddr4 3600 mhz

 

Edited by bigbilly5
Link to comment
Share on other sites

It says your ran out of heap memory specifially when ctm is creating the models for connected textures:

Caused by: java.lang.OutOfMemoryError: Java heap space
	at it.unimi.dsi.fastutil.objects.Object2BooleanLinkedOpenHashMap.rehash(Object2BooleanLinkedOpenHashMap.java:1859) ~[fastutil-8.5.6.jar%2341!/:?] {}
	at it.unimi.dsi.fastutil.objects.Object2BooleanLinkedOpenHashMap.insert(Object2BooleanLinkedOpenHashMap.java:341) ~[fastutil-8.5.6.jar%2341!/:?] {}
	at it.unimi.dsi.fastutil.objects.Object2BooleanLinkedOpenHashMap.put(Object2BooleanLinkedOpenHashMap.java:349) ~[fastutil-8.5.6.jar%2341!/:?] {}
	at team.chisel.ctm.client.util.TextureMetadataHandler.onModelBake(TextureMetadataHandler.java:177) ~[CTM-1.18.2-1.1.5+5.jar%23111!/:1.18.2-1.1.5+5] {re:classloading}

Give it more heap using the -Xmx java argument, you currently have 4G (4096m) assigned

Quote

JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m

 

  • Like 1

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I recently updated my mods and now my game is crashing on startup i tried adding them one at a time and couldn't find anything wrong and no crash log is being made the only thing I have is the debug log. If it helps I'm also using the curseforge launcher to launch the game. Minecraft version- 1.20.1 Forge Version-47.2.0 https://gist.github.com/keepinitreal247/d3105af6bb70e30f183505715113c61a
    • i managed to use another launcher but it still says logging in
    • i tried to open the modpack with multimc by importing it from Ftb and it gave me an error https://paste.ee/p/YDqWN
    • Hi, I'm trying to render a single quad in the world. I'm mixing into the ChestRenderer class. If I understand correctly, BufferSource#getBuffer opens a buffer according to the supplied RenderType (Quads with POSITION_COLOR in my case). Then, I can supply my vertices (a simple 1-block plane along the Z Axis) and close the buffer using BufferSource#endBatch for rendering. This is the code I'm using: @Inject(at = @At("TAIL"), method = "render(...)V") public void render(T blockEntity, float partialTick, PoseStack poseStack, MultiBufferSource multiBufferSource, int packedLight, int packedOverlay, CallbackInfo ci) { BlockPos pos = blockEntity.getBlockPos(); AABB box = new AABB(pos, pos.offset(1, 1, 1)); BufferSource buffer = Minecraft.getInstance().renderBuffers().bufferSource(); VertexConsumer consumer = buffer.getBuffer(RenderType.guiOverlay()); poseStack.pushPose(); poseStack.translate(-pos.getX(), -pos.getY(), -pos.getZ()); consumer.vertex(box.minX, box.maxY, box.minZ).color(1, 1, 1, 1).endVertex(); consumer.vertex(box.minX, box.maxY, box.maxZ).color(1, 1, 1, 1).endVertex(); consumer.vertex(box.minX, box.minY, box.maxZ).color(1, 1, 1, 1).endVertex(); consumer.vertex(box.minX, box.minY, box.minZ).color(1, 1, 1, 1).endVertex(); buffer.endBatch(RenderType.guiOverlay()); poseStack.popPose(); } However, the plane does not get rendered. However, if I replace those 4 vertices with a call to LevelRenderer#renderLineBox and set the RenderType to LINES, it works. Do I need something else to render planes other than the 4 edges of the quad? I used QUADS back in 1.8 where it was still the raw OpenGL type and it worked then. Or am I missing something else entirely? Thanks!
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.