Skip to content

Conversation

@nzagorchev
Copy link
Contributor

Background

The GenericActionDefinition logs cast error when Rich Interstitial is shown in Unity Editor due to the Fonts field which is not a primitive object.
Error logged (exception is caught):
Error casting value for name: messageConfig.vars. Exception: Object must implement IConvertible.

Implementation

Fallback to object and do not convert and cast explicitly.

Testing steps

Is this change backwards-compatible?

Yes

@nzagorchev nzagorchev requested a review from milos1290 June 16, 2021 15:24
@nzagorchev nzagorchev merged commit b25c77a into master Jun 17, 2021
@delete-merged-branch delete-merged-branch bot deleted the generic-definition-cast branch June 17, 2021 12:21
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.

3 participants