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

[BUG] Possible Null Value at outerNode in EliminateHoles in extreme rare condition #87

Closed
OmarVector opened this issue Aug 24, 2017 · 0 comments
Labels

Comments

@OmarVector
Copy link

We are able to regenerate the error after we tracked down that data created from EarcutLibrary.Flatten() till the crash happened.

we applied a temporary fix for it inside EliminateHoles() method by checking if outerNode!=null inside the process holes from left to right Loop , we tested and it seems working fine with no more issue. hope that may help u to figure it out.

You can Regenerate the issue using this script inside unity
https://gist.github.com/OmarVector/343e15395b530b5d69adcfb07d327ae7

@OmarVector OmarVector changed the title Possible Null Value at outerNode.next in EliminateHoles in extreme rare condition [BUG] Possible Null Value at outerNode.next in EliminateHoles in extreme rare condition Aug 24, 2017
@OmarVector OmarVector changed the title [BUG] Possible Null Value at outerNode.next in EliminateHoles in extreme rare condition [BUG] Possible Null Value at outerNode in EliminateHoles in extreme rare condition Aug 24, 2017
@mourner mourner added the bug label Oct 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants