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

SolutionAssetStorage.GetAssetAsync should never return null #47013

Closed
tmat opened this issue Aug 20, 2020 · 0 comments · Fixed by #67149
Closed

SolutionAssetStorage.GetAssetAsync should never return null #47013

tmat opened this issue Aug 20, 2020 · 0 comments · Fixed by #67149

Comments

@tmat
Copy link
Member

tmat commented Aug 20, 2020

We should throw if we can't find the asset instead of returning null. Not being able to find an asset indicates a bug in the implementation.

Similarly for FindAsset and other methods in the class.

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

Successfully merging a pull request may close this issue.

2 participants