When app from background to foreground,_renderer->beginFrame(_swapChain) always returns false.
- Dominant language
- C++
- Stars
- 20.5k
- Forks
- 2.3k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 74
Description
**Describe the bug**
I use Filament to develop a iOS app and I have found a problem with it. After app startup, _renderer->beginFrame(_swapChain) return true, render normally, but when the app enters the background, and again enters the foreground, _renderer->beginFrame(_swapChain) always returns false, the model cannot render properly, I printed _renderer and _swapChain, they are not be released, In your experience, what causes this problem in Filament?
**To Reproduce**
1、Start app, load model, _renderer->beginFrame(_swapChain) returns true
2、app enters background mode
3、app enters foreground mode
4、discover _renderer->beginFrame(_swapChain) always returns false
**Expected behavior**
When app from background to foreground, _renderer->beginFrame(_swapChain) still returns true
**Screenshots**

**Smartphone (please complete the following information):**
- Device: iPhone12
- OS:iOS14.5
Contributor guide
Assessment
This issue has not been assessed yet.