realitycollective / com.realitycollective.service-framework

The Service Framework package components for the Reality Collective. This package an extensible service framework to build highly performant components for your Unity projects.
https://service-framework.realitycollective.net
MIT License
9 stars 5 forks source link

[BUG] Asset Installer fails to install assets if directory already exists #92

Open FejZa opened 6 months ago

FejZa commented 6 months ago

Reality Collective - Service Framework Bug Report

Describe the bug

Currently, the asset installer module of the package installer feature will only install assets, if the target directory does not exist. So e.g. if RealityToolkit.Core already exists in the Generated Assets folder, then it will just assume everything is installed. This makes incremental updates of the toolkit hard, since newly added assets are not imported at all.

Solution

Instead of only checking for the directory, do a file-by-file basis check to ensure any missing asset files are copied over.