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

Hot Reload compatibility #372

Open
n12o opened this issue Jan 6, 2025 · 0 comments
Open

Hot Reload compatibility #372

n12o opened this issue Jan 6, 2025 · 0 comments
Milestone

Comments

@n12o
Copy link

n12o commented Jan 6, 2025

Hot Reload replaces Unity Auto Refresh with faster incremental compilations. Since Auto Refresh handles asset updates, like shaders, Hot Reload also implements Asset Refresh functionality.

One of the users who uses both assets shared a problem:

The problem is that it also pushes a full refresh of ASE shaders, and I think only ASE shaders, when play starts. You can repro this simply by having ASE and A-impostor in an empty project as well as samples.

Hot Reload listens to file system events with a file watcher (dotnet/watchman). If a file changes, we import it using Unity API (AssetDatabase.ImportAsset). You can put a log into the HandleAssetChange method in the asset code to detect when the issue happens.

@Dawie3565 Dawie3565 added this to the v1.9.9 milestone Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants