Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

ReactiveProperty not throwing exception #504

Open
elhimp opened this issue Oct 12, 2021 · 0 comments
Open

ReactiveProperty not throwing exception #504

elhimp opened this issue Oct 12, 2021 · 0 comments

Comments

@elhimp
Copy link

elhimp commented Oct 12, 2021

With object being null:

private GameObject testGO;

void Start() {
    Observable.EveryUpdate()
    .Select(_ => testGO.name)
    .ToReactiveProperty();
    // .ToReadOnlyReactiveProperty();
    // .ToSequentialReadOnlyReactiveProperty();
    // .Subscribe();
}

.ToReactiveProperty .ToReadOnlyReactiveProperty and .ToSequentialReadOnlyReactiveProperty just silently stops working.
While base .Subscribe gonna spam console with red, as it supposed to.

@elhimp elhimp changed the title ReactiveProperty doesn't throw exception ReactiveProperty not throwing exception Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant