Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FejZa opened this issue Apr 30, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@FejZa
Copy link
Contributor

FejZa commented Apr 30, 2024

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.

@FejZa FejZa added the bug Something isn't working label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant