Skip to content

Fix bug when Adding Sample to the Scene and Playing quickly#4630

Open
VitorBeamable wants to merge 1 commit into
mainfrom
feature/fix-quick-add-and-play
Open

Fix bug when Adding Sample to the Scene and Playing quickly#4630
VitorBeamable wants to merge 1 commit into
mainfrom
feature/fix-quick-add-and-play

Conversation

@VitorBeamable
Copy link
Copy Markdown
Collaborator

Try to fix it forcing a AssetDatabase.Refresh() and cleanup unused enum

…kes the assets do not loading properly

- Cleanup unused enum for .unity and .prefab assets since now there's not .prefab in the samples anymore
- Always force an AssetDataBAse.Refresh() when clicking to add.
@github-actions
Copy link
Copy Markdown
Contributor

Lightbeam link

Copy link
Copy Markdown
Collaborator

@cdhanna cdhanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how does this fix the issue? I think now an asset refresh would happen even if the scene was already copied locally; which probably doesn't need to be true?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants