Here's the entity in the debugger, appearing to exist at a certain position.
This issue is reproducible 100% of the time with default mod and map settings using my mod that I've attached.
Here is my character standing at the position where the entity was created but made invisible somehow. My selection box is not on the position in question.
To be very clear about the issue, resource entities are supposed to appear at these red dots in this image, as the return value of create_entity() suggests, but they're missing.
The entities that should exist but don't are not findable with LuaSurface::find_entities(), so they seem to be vanishing.[2.0.55] Entity doesn't appear in game after LuaSurface::create_entity() returns a valid entity
[2.0.55] Entity doesn't appear in game after LuaSurface::create_entity() returns a valid entity
- Attachments
-
- hextorio_1.0.0.zip
- (18.16 MiB) Downloaded 22 times
Re: [2.0.55] Entity doesn't appear in game after LuaSurface::create_entity() returns a valid entity
Discussion on discord lead to discovery that it is fault of the mod destroying resources due to onChunkGenerated event. Not a bug.