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

C#: Fix assert and assembly unloading failure when using custom script parameters with a default value #81541

Commits on Sep 29, 2023

  1. Fix script double insertion error and assembly unloading failure when…

    … using a script that contains a default constructed parameter referencing a custom script:
    
    - The issue is one of dependency between assembly reloading creating and reloading the script on demand at the moment of default constructing the owner script and then trying to register it again when loading the file containing the script used by the default constructed parameter;
    - The fix relies on checking whether the script has already been registered during the assembly reload and uses it to reload dependent objects instead of trying to register the original script again;
    ipetrariu authored and ipetrariu committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    b534c05 View commit details
    Browse the repository at this point in the history