Skip to content

Conversation

@stefan-tscheppe
Copy link
Contributor

Fix typo in property name used by GetProperty when searching for usages of an AssetReference.

This PR corrects a misspelled property name which prevents retrieving AssetReference.SubObjectType correctly. With the typo fixed, the usage search now completes without errors.

@yasirkula
Copy link
Owner

That typo existed in Addressables source code for a while. I guess they fixed it. Can you use the ?? operator to fallback to the previous version in case SubObjectType property isn't found?

Earlier releases of `Addressables` come with that typo.
@stefan-tscheppe
Copy link
Contributor Author

stefan-tscheppe commented Dec 10, 2025

Thank you for your prompt reply!

Thanks for pointing out that the typo existed in earlier releases of Addressables! As you suggested, I've added a fallback using the ?? operator.

@yasirkula
Copy link
Owner

Thanks for the changes! This commit will be included in the next release that will also include other fixes.

@yasirkula yasirkula merged commit 2bd6a02 into yasirkula:master Dec 10, 2025
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