HeroTransitions / Hero

Elegant transition library for iOS & tvOS
https://HeroTransitions.github.io/Hero/
MIT License
22.02k stars 1.72k forks source link

Unexpectedly found nil while unwrapping an Optional value #694

Closed rainaakshay closed 3 years ago

rainaakshay commented 3 years ago

What did you do?

I set the hero id for a view, enabled hero and pushed the view controller which had another view with the same hero id

What did you expect to happen?

Everything worked fine until a couple of days ago, but now, the push animation works fine, but

What happened instead?

The app crashed on pop The error is Unexpectedly found nil while unwrapping an Optional value on HeroContext.swift line 229

Screenshot 2021-01-25 at 1 07 54 AM

General Information

rainaakshay commented 3 years ago

UPDATE: The issue resolved if I change the push to present and the pop to dismiss