Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

Crash on iPhone X with Poly enabled #13

Open
ryan-motive opened this issue May 29, 2018 · 4 comments
Open

Crash on iPhone X with Poly enabled #13

ryan-motive opened this issue May 29, 2018 · 4 comments

Comments

@ryan-motive
Copy link

I have an app with Google Poly + ARKit, but when I have Poly enabled I get regular crashes due to memory use. This doesn't even require any Poly assets being shown, simply having PolyToolkitManager in my scene seems to cause it. (Not actually sure ARKit is relevant here, but it may be a useful data point.)

@btco
Copy link
Contributor

btco commented May 30, 2018

I might be because Poly Toolkit is allocating more memory than is available. We're working through some memory allocation issues, but those fixes aren't part of any official release yet. However, if you clone this repository, you can patch your copy of Poly Toolkit to apply the fixes. The easiest way is to clone this repo, then copy over all the files under Assets/PolyToolkit into your project, replacing the existing ones.

@ryan-motive
Copy link
Author

Thanks Bruno. We're at AWE this week, but I'll let you know as soon as I'm able to try this.

@yosun
Copy link

yosun commented Jun 21, 2018

(From the January release) This seems to occur for medium complexity models mixed with other scene objects. Also occurs on iPad Pro and other devices.

@btco It would be great to be able to get some sort of memory requirement callback before loading the model.

@anokta
Copy link
Contributor

anokta commented Jun 28, 2018

FYI, we've just released v1.1 with the mentioned fixes. Please let us know if the issue persists.

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

4 participants