#Custom tiles cause level to fail to load

18 messages · Page 1 of 1 (latest)

fickle raven
#

trying to add background and foreground tiles, they load in Lönn but in log it says its trying to load from somewhere else and fails

gentle silo
#

you did something with Sprites.xml

#

send it

fickle raven
#

forgot about the decals

gentle silo
#

last i checked DecalRegistry.xml does not spell Sprites.xml

fickle raven
#

sorry i was following the wiki and assumed sprites was the place you put the decal xml since i coulnd find any other spot that worked

gentle silo
#

what other xmls do you have

#

because it is trying to load a sprites.xml

(12/21/2024 14:34:32) [Everest] [Warn] [LevelLoader] Failed loading ivy/SaA/Ambush [The Ambush]
--------------------------------
Detailed exception log:
--------------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
   at Monocle.SpriteBank.getChildElements(XmlNode node) in /home/vsts/work/1/s/Celeste.Mod.mm/Patches/Monocle/SpriteBank.cs:line 190
   at Monocle.SpriteBank.GetSpriteBankExcludingVanillaCopyPastes(XmlDocument vanillaSpritesXml, XmlDocument modSpritesXml, String path) in /home/vsts/work/1/s/Celeste.Mod.mm/Patches/Monocle/SpriteBank.cs:line 116
   at Celeste.LevelLoader.getModdedSpritesXml(String path) in /home/vsts/work/1/s/Celeste.Mod.mm/Patches/LevelLoader.cs:line 239
fickle raven
#

i was putting the decal registry in the sprites slot

gentle silo
#

yeah no

#

do not do that

fickle raven
#

since it made them appear in the editor

gentle silo
#

you don't need to declare a decalregistry anywhere

#

lönn picks it up automatically

fickle raven
#

oh

#

thanks