# MrPig Chapter 19

**URL:** <https://forums.kodeco.com/t/mrpig-chapter-19/36868>\
**Category:** 3D iOS Games by Tutorials\
**Created:** [November 24, 2017, 5:17am UTC](https://forums.kodeco.com/t/mrpig-chapter-19/36868 "2017-11-24T05:17:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pricipiante](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@pricipiante](https://forums.kodeco.com/u/pricipiante)\
**Post date:** [November 24, 2017, 5:17am UTC](https://forums.kodeco.com/t/mrpig-chapter-19/36868/1 "2017-11-24T05:17:50Z")

</div>

On the part where I tap from SplashScene to GameScene I get the following error message:

-[MTLDebugRenderCommandEncoder validateFramebufferWithRenderPipelineState:]:1196: failed assertion `For color attachment 0, the render pipeline’s pixelFormat (MTLPixelFormatRGBA8Unorm\_sRGB) does not match the framebuffer’s pixelFormat (MTLPixelFormatBGR10\_XR\_sRGB).’  
(lldb)

I don’t get this error message on the simulator but only when I use my iPhone 8 plus. Does anyone know how to fix this issue? I can do fine any other tutorials but this only happen with Mr.Pig

Thanks in advance for your time.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [November 24, 2017, 2:44pm UTC](https://forums.kodeco.com/t/mrpig-chapter-19/36868/2 "2017-11-24T14:44:57Z")

</div>

@chrislanguage Do you have any feedback on this one? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![chrislanguage](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/chrislanguage/32/104184_2.png) [@chrislanguage](https://forums.kodeco.com/u/chrislanguage)\
**Post date:** [November 24, 2017, 2:50pm UTC](https://forums.kodeco.com/t/mrpig-chapter-19/36868/3 "2017-11-24T14:50:52Z")

</div>

Hi there, the issue is related to an existing bug within SceneKit and Transitions while debugging. Please checkout [this](https://forums.kodeco.com/t/chapter-19-challenge-error/24307) thread, there’s some ideas how to deal with the bug.

---

<div class="post-metadata">

**Author:** ![pricipiante](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@pricipiante](https://forums.kodeco.com/u/pricipiante)\
**Post date:** [November 25, 2017, 3:33am UTC](https://forums.kodeco.com/t/mrpig-chapter-19/36868/4 "2017-11-25T03:33:18Z")

</div>

Thank You, I tried both workarounds but the only one that worked for me was editing the scheme. I noticed when the screen switches from the splash to the game scene there is like a 2 seconds green pixel moment then it loads the game scene. It’s pretty weird but hey it’s a work around, Thank You for the quick response.

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [May 9, 2018, 9:18pm UTC](https://forums.kodeco.com/t/mrpig-chapter-19/36868/5 "2018-05-09T21:18:07Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
