Skip to content

Commit

Permalink
fix: warnings issued when .scene files are saved (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunderscore authored Jul 2, 2024
1 parent a0b6ec3 commit 565013a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
changes

### Fixed
- [#280] Console warnings issued whenever `.unity` (scene) files are saved

### Changed
- [#273] Preview system now calls `Refresh` to avoid double computation
Expand Down
2 changes: 1 addition & 1 deletion Editor/ChangeStream/ChangeNotifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ bool didDomainReload
{
foreach (var asset in importedAssets)
{
if (asset.EndsWith(".scene")) continue;
if (asset.EndsWith(".unity")) continue;
var subassets = AssetDatabase.LoadAllAssetsAtPath(asset);
foreach (var subasset in subassets)
{
Expand Down

0 comments on commit 565013a

Please sign in to comment.