ProwlEngine / Prowl

An Open Source C# 3D Game Engine under MIT license, inspired by Unity and featuring a complete editor and built on Silk.NET
MIT License
360 stars 30 forks source link

[Editor] Asset Database needs to clear invalid SerializedAssets on project load #82

Closed michaelsakharov closed 8 months ago

michaelsakharov commented 9 months ago

The Asset Database when importing an asset caches the results in a "SerializedAsset" under the Library folder.

This all works fine, however, if you close the editor, and manually delete the asset file from the Assets folder, then open the project back up, The editor won't clear the SerializedAsset even though there's no more Asset file connected to it.

michaelsakharov commented 8 months ago

Serialized assets got redone and are now stored with the GUID as their name, and missing guid assets get cleared so this solved.