Skip to content

UnityHttpRequest event invocation null references #16

@borntocompile

Description

@borntocompile

The UnityHttpRequest on update progress event action is not null checked. This means if you call the Send method on UnityHttpRequest without adding a listener to Download or Upload progress changed event then you will get a null reference. This event should not be a requirement of a UnityHttpRequest.
To fix this we can use null propagation on the event before Invoking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions