crash when spawning any entity from my mod(FIXED)

Started by a23709g3 on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 05:29, 27. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
crash when spawning any entity from my mod(FIXED)
Mon, 03/04/2024 - 06:48 (edited)

after i updated my mod from 2023.2 and 1.19.2 to 2023.4 and 1.20.1
when spawning modded entity this happens:
java.lang.NullPointerException: Cannot invoke "net.minecraft.client.renderer.entity.EntityRenderer.shouldRender(net.minecraft.world.entity.Entity, net.minecraft.client.renderer.culling.Frustum, double, double, double)" because "entityrenderer" is null

but when i made new test workspace using same version and plugins it worked well

Edited by a23709g3 on Mon, 03/04/2024 - 06:48
I would recommend reporting…
Mon, 02/05/2024 - 16:40

I would recommend reporting bug to the plugin author, if you have plugin enabled, even if the entity is not gecko

Last seen on 05:29, 27. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do geckolib causing that?
Mon, 02/05/2024 - 16:43

do geckolib causing that?

Last seen on 05:29, 27. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also it happens with…
Mon, 02/05/2024 - 18:09

also it happens with geckolib entities from my mod but not vanilla ones

Last seen on 05:29, 27. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also tried to test different…
Tue, 02/06/2024 - 12:13

also tried to test different workspace with same plugins and version, it worked

Last seen on 05:29, 27. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
still trying to figure out…
Fri, 02/09/2024 - 09:15

still trying to figure out why that happens
looked in most elements that may cause this
dont want to redo whole workspace because its huge

Last seen on 05:29, 27. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
still looking for help.
Sun, 02/18/2024 - 13:05

still looking for help.

Last seen on 05:29, 27. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also happened in 1.19.4
Fri, 03/01/2024 - 06:52

also happened in 1.19.4

Last seen on 05:29, 27. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
after finding corrupted mod…
Mon, 03/04/2024 - 06:48

after finding corrupted mod element it got fixed.

Last seen on 05:29, 27. Apr 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
finding and deleting*
Mon, 03/04/2024 - 06:48

finding and deleting*