ElderHank462 / Wynatia

Open world RPG
1 stars 0 forks source link

On loading the game, shit ton of armor gets spawned in over where coins are in complete-player level #46

Closed ElderHank462 closed 10 months ago

ElderHank462 commented 10 months ago

haven't investigated to find out how to reproduce

ElderHank462 commented 10 months ago

I think I may have fixed this

The scriptableObject variable of the Coinpouch World GameObject was unassigned so it caused an error when saving the game that meant the items didn't get saved properly

ElderHank462 commented 10 months ago

Happened again so apparently it wasn't fixed, the chain of burnination was also replaced with a sapphire amulet which was odd

ElderHank462 commented 10 months ago

Coinpouch still seems to be the issue - all items before it get loaded correctly, afterwards it just loads armor

ElderHank462 commented 10 months ago

maybe because coinpouch has grandchildren (not just child-objects)?

ElderHank462 commented 10 months ago

FIXED!!!

Disabled ES3 saving for all items, then re-enabled

It was the new items (sling, pebble, coin, coinpouch) that I had created using my template, which was armor originally and had an ES3 prefab script on it

Whatever ES3 was doing behind the scenes wasn't automatically redone when I created a new prefab