awtterpip / bevy_oxr

Apache License 2.0
250 stars 39 forks source link

fix android "null pointer dereference" #97

Closed LogicFan closed 7 months ago

LogicFan commented 7 months ago

Without this line, when compiles to android, it will immediately crash after app started. after adding this line, issue resolved.

MalekiRe commented 7 months ago

Which android platforms did you test this on? Which ones did it fix the issue?

LogicFan commented 7 months ago

Which android platforms did you test this on? Which ones did it fix the issue?

Tested on Meta Quest 3. This line actually copied from main branch, so I believe this one is required for all android platform.

awtterpip commented 7 months ago

thanks! looks great