LazyDuchess / OpenTS2

Open source re-implementation of The Sims 2 in Unity
Mozilla Public License 2.0
221 stars 17 forks source link

Render neighboorhood flora decorations #35

Closed ammaraskar closed 11 months ago

ammaraskar commented 11 months ago

image

Take a look at the second commit in this pull request, I was running into this issue where the Material or Texture is being garbage collected so I was getting purple textures. I had to comment out the unmanaged resource collection to get it to work real quick. Is there a recommended way you would structure this to play nicely with the unmanaged resources before I take a deeper look?

LazyDuchess commented 11 months ago

I've also fixed the neighborhood deco codec test, seems like you got the Y and Z wrong there :p great work, it's really cool to finally see some deco on the neighborhood terrain.