I tried following the custom entity codemod guide, I got the entity to appear in lonn and I can place it down, but upon loading Celeste, the entity is nowhere to be found. Checking my log it says "(08/03/2025 16:18:45) [Everest] [Warn] [LoadLevel] Failed loading entity SunnyCodeMod/SunnyEntity. Room: test Position: {X:152 Y:80}" with no other helpful information. Attached is the log and the corresponding lonn plugin file and the code file for the entity. No mods other than my custom one are enabled.
#"Failed loading entity" when loading my own custom entity
27 messages · Page 1 of 1 (latest)
have you compiled since making the .cs class
also you're missing the data = {} under name in placements
yes i have
this message shows up when everest is unable to determine what c# class corresponds to the entity name in lönn (as in, "SunnyCodeMod/SunnyEntity"), or it failed to find a suitable generator method or constructor
which has a lot of causes, like
- not compiling
- not making the entity class
- mismatch between the CustomEntity name and the lua plugin name
- incorrect access modifiers
- missing/incorrect constructor
- incorrect generator method signature
- etc
have you restarted since compiling then
cus from what i can tell the only one of those that could be happening is the top one
yea multiple times
i see
is it possible that thats whats causing the issue?
i know this can cause crashes
send the dll from bin/ so that i can take a look at what's actually inside your assembly
i wont be able to take a look at it right now because i am comfy
its okay to be comfy 
yeah i don't see your entity anywhere in the assembly
you must have not compiled
show me your project structure in your ide
oh my god i figured it out now
the files were in the folder and everything but weren't connected to the sln so when i built the dll they weren't added to it i think 😭
adding them and rebuilding made it show up ingame
thanks ❤️
oh so the csproj just had an <Compile Remove="..." /> for those files