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

Exposing functions: mono_custom_attrs_construct_by_type and mono_unit… #1314

Merged
merged 1 commit into from
Jul 8, 2020

Conversation

UnityAlex
Copy link
Collaborator

…y_error_convert_to_exception

  • mono_custom_attrs_construct_by_type allows unity to have a chance at handling the error if one arises instead of fatally asserting
  • mono_unity_error_convert_to_exception allows unity to take the provided MonoError and fetch the MonoException object within to log into the editor as the exception that was thrown.

Release note: Fixed crash that would occur when an exception was thrown during the initialization of a custom attribute.

This change has associated unity changes in order to fix (case 1255935)

@UnityAlex UnityAlex requested a review from joncham July 8, 2020 15:19
…y_error_convert_to_exception

* mono_custom_attrs_construct_by_type allows unity to have a chance at handling the error if one arises instead of fatally asserting
* mono_unity_error_convert_to_exception allows unity to take the provided MonoError and fetch the MonoException object within to log into the editor as the exception that was thrown.

This change has associated unity changes in order to fix (case 1255935)
@UnityAlex UnityAlex merged commit 018fee6 into unity-master Jul 8, 2020
@UnityAlex UnityAlex deleted the unity-master-fix-1255935 branch July 8, 2020 19:27
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