-
-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Description
Description:
After updating to v2.3.1, the app crashes with a native SIGABRT when the SceneView is disposed in Jetpack Compose.
Error:
Precondition in destroy:1262
reason: destroying MaterialInstance "Opaque Colored" which is still in use by Renderable (entity=3, instance=1, index=0)
Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15917
Usage:
@Composable
private fun SceneView(
modifier: Modifier,
engine: Engine,
view: View,
modelLoader: ModelLoader,
cameraNode: CameraNode,
childNodes: List<Node>,
onFrame: () -> Unit,
) {
Scene(
modifier = modifier.pointerInteropFilter { true },
view = view,
engine = engine,
isOpaque = true,
modelLoader = modelLoader,
cameraNode = cameraNode,
childNodes = childNodes,
onFrame = { onFrame() },
)
}
Previous version 2.3.0 works as expected
rsuman132, maximilian-robl-quartett, dumanqm, lisaberle-qm, QuentinDlv and 3 more
Metadata
Metadata
Assignees
Labels
No labels