Mod Element Keeps Crashing The Game.

Started by Piktendo on Mon, 03/01/2021 - 15:49

Topic category: Help with MCreator software

Last seen on 18:38, 6. Apr 2021
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Mod Element Keeps Crashing The Game.
Mon, 03/01/2021 - 15:49

Last post was removed, don't know why however I assume it had something to do with the large code I sent, if that was the case then my apologizes.

For some reason my test-game keeps crashing during the loading screen due to a mod element. I know the Blockbench export is fine,and the texture is fine as well, however I just don't get why the element crashes my game. The test game runs fine without it, so I know it's the mod element that's causing the crash.

 

Here's the crash report:

10:22.39 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 ---- Minecraft Crash Report ----
// This doesn't make any sense!
Time: 3/1/21 10:22 AM
Description: Initializing game
net.minecraft.client.renderer.StitcherException: Unable to fit: securitycraft:blocks/alarm_particle_texture - size: 16x16 - Maybe try a lowerresolution resourcepack?
at net.minecraft.client.renderer.texture.Stitcher.doStitch(Stitcher.java:71)
at net.minecraft.client.renderer.texture.TextureMap.finishLoading(TextureMap.java:216)
at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:112)
at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:91)
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159)
at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28)
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121)
at net.minecraft.client.Minecraft.init(Minecraft.java:559)
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:25)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at net.minecraft.client.renderer.texture.Stitcher.doStitch(Stitcher.java:71)
at net.minecraft.client.renderer.texture.TextureMap.finishLoading(TextureMap.java:216)
at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:112)
at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:91)
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159)
at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28)
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121)
at net.minecraft.client.Minecraft.init(Minecraft.java:559)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:25)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_265, BellSoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), BellSoft
Memory: 361742960 bytes (344 MB) / 918028288 bytes (875 MB) up to 1407713280 bytes (1342 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2768 8 mods loaded, 8 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State | ID | Version | Source | Signature |
|:----- |:------------------------- |:------------ |:---------------------------------- |:---------------------------------------- |
| UCH | minecraft | 1.12.2 | minecraft.jar | None |
| UCH | mcp | 9.42 | minecraft.jar | None |
| UCH | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCH | forge | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCH | twentyfournightsatfreddys | 1.0.0 | modid-1.0.jar | None |
| UCH | securitycraft | v1.8.12 | [1.12.2]+SecurityCraft+v1.8.12.jar | None |
| UCH | sanlib | 1.5.1 | SanLib-1.12.2-1.5.1.jar | df48348748b5e141b1d118e2302a8d5be930b708 |
| UCH | sanplayermodel | 1.1.1 | SanLib-1.12.2-1.5.1.jar | None |
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.5.0 - Build 25.20.100.6518' Renderer: 'Intel(R) HD Graphics 520'
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: Intel(R) HD Graphics 520 GL version 4.5.0 - Build 25.20.100.6518, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
10:22.39 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Keegan\MCreatorWorkspaces\twentyfournightsatfreddys\run\.\crash-reports\crash-2021-03-01_10.22.39-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files (x86)\Pylo\MCreator\jdk\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3m 23s
13 actionable tasks: 8 executed, 5 up-to-date
BUILD FAILED.

If the problem turns out to be easily solvable, then I'm sorry for wasting your time.

Last seen on 18:38, 6. Apr 2021
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
bump. . . . Are bumps…
Tue, 03/02/2021 - 03:35

bump.

. . . Are bumps allowed?

Last seen on 18:38, 6. Apr 2021
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Didn't seem to work, now I…
Tue, 03/02/2021 - 03:45

Didn't seem to work, now I just look like a fool, aw well . . .

 

I'm in quite the pickle, if I can't solve this issue then I can't finish my mod . . . Crap . . .

net.minecraft.client…
Tue, 03/02/2021 - 09:27

net.minecraft.client.renderer.StitcherException: Unable to fit: securitycraft:blocks/alarm_particle_texture - size: 16x16 - Maybe try a lowerresolution resourcepack?

Seems something is wrong with this texture

Last seen on 18:38, 6. Apr 2021
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ah yes, forgot to mention…
Tue, 03/02/2021 - 18:54

Ah yes, forgot to mention some things.

I'm using the securitycraft mod as well as my mod, however the securitycraft mod itself isn't the main issue.

I've been able to run it just fine with the mod, it's when I made that mod element that it started crashing.

Upon removing the element, the game ran just fine, and upon making it again, it crashed.

I'm sure both the texture and the .JSON file associated with the element aren't corrupt, as they are completely new and not copied over from any pre-existing .JSON files.

Whats weird is how my workspace seems to cherry-pick which block model crashes and which one doesn't. I'll make dozens of .JSON files and custom textures without incident, but every once in awhile one or more just randomly crash my game on the loading screen.

I have removed the extra mod, and while granted it does "solve" the problem, it only makes another, as how am I able to use my mod along with it? It's kinda required.

Last seen on 18:38, 6. Apr 2021
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Erm, correction, it turns…
Wed, 03/03/2021 - 05:10

Erm, correction, it turns out that no, removing Securitycraft did not solve the issue, as upon making another mod element it crashed the game again, yet again at the loading screen.

Crash report:

[main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 ---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 3/3/21 12:01 AM
Description: Initializing game
net.minecraft.client.renderer.StitcherException: Unable to fit: twentyfournightsatfreddys:blocks/wallpizzaa - size: 64x64 - Maybe try a lowerresolution resourcepack?
at net.minecraft.client.renderer.texture.Stitcher.doStitch(Stitcher.java:71)
at net.minecraft.client.renderer.texture.TextureMap.finishLoading(TextureMap.java:216)
at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:112)
at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:91)
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159)
at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28)
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121)
at net.minecraft.client.Minecraft.init(Minecraft.java:559)
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:25)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at net.minecraft.client.renderer.texture.Stitcher.doStitch(Stitcher.java:71)
at net.minecraft.client.renderer.texture.TextureMap.finishLoading(TextureMap.java:216)
at net.minecraft.client.renderer.texture.TextureMap.loadTextureAtlas(TextureMap.java:112)
at net.minecraft.client.renderer.texture.TextureMap.loadSprites(TextureMap.java:91)
at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159)
at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28)
at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121)
at net.minecraft.client.Minecraft.init(Minecraft.java:559)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:25)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_265, BellSoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), BellSoft
Memory: 380465240 bytes (362 MB) / 974651392 bytes (929 MB) up to 1407713280 bytes (1342 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2768 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
| State | ID | Version | Source | Signature |
|:----- |:------------------------- |:------------ |:-------------------------------- |:--------- |
| UCH | minecraft | 1.12.2 | minecraft.jar | None |
| UCH | mcp | 9.42 | minecraft.jar | None |
| UCH | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCH | forge | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None |
| UCH | twentyfournightsatfreddys | 1.0.0 | modid-1.0.jar | None |
Loaded coremods (and transformers):
GL info: ' Vendor: 'Intel' Version: '4.5.0 - Build 25.20.100.6518' Renderer: 'Intel(R) HD Graphics 520'
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: Intel(R) HD Graphics 520 GL version 4.5.0 - Build 25.20.100.6518, Intel
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs:
Current Language: English (US)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
00:01.07 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Keegan\MCreatorWorkspaces\twentyfournightsatfreddys\run\.\crash-reports\crash-2021-03-03_00.01.07-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files (x86)\Pylo\MCreator\jdk\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 57s
13 actionable tasks: 8 executed, 5 up-to-date
BUILD FAILED

From what I can gather, it seems to be related to texture resolution? (Despite the fact that the texture in question is fine and runs perfectly without the corrupted mod element.) I have no clue.