# Processing P3D & P2D is not working yet on MacOS Ventura

**URL:** <https://discourse.processing.org/t/processing-p3d-p2d-is-not-working-yet-on-macos-ventura/39434>\
**Category:** Processing\
**Created:** [October 25, 2022, 7:46pm UTC](https://discourse.processing.org/t/processing-p3d-p2d-is-not-working-yet-on-macos-ventura/39434 "2022-10-25T19:46:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [October 25, 2022, 7:46pm UTC](https://discourse.processing.org/t/processing-p3d-p2d-is-not-working-yet-on-macos-ventura/39434/1 "2022-10-25T19:46:55Z")

</div>

Just a quick message to let everyone know that if you rely on P2D or P3D you might want to hold off on updating to macOS Ventura that released today.

This issue has been mentioned prior by @chrish in [this thread](https://discourse.processing.org/t/p3d-bug-on-macos-ventura/38288).

If you are able to help debug this, please check out the Github issue below:

> <https://github.com/processing/processing4/issues/544>
>
> \## Description
> When using the P3D and P2D renderers, the window is not plotted …on MacOS Ventura. With default \`size()\`, the window shows up correctly.
> 
> \## Expected Behavior
> The window should show up when using P3D and P2D.
> 
> \## Current Behavior
> The code will run, but no window rendered. From Mission Control on MacOS, a silhouette of the window could be seen, but the content is transparent. A thumbnail of the window is also shown at the top of Mission Control. See picture.
> !\[image\](https://user-images.githubusercontent.com/50965568/186786559-3b19c42a-58e9-4e22-817d-087ccaf6f67e.png)
> 
> \## Steps to Reproduce
> 1. Install MacOS Ventura beta
> 2. Open example \`Topics\>Textures\>TextureCube\`
> 3. Run
> 
> \## Your Environment
> \* Processing version: 4.0.1 (August 9, 2022)
> \* Operating System and OS version: macOS 13.0 Beta (22A5331f)
> \* Other information:

---

<div class="post-metadata">

**Author:** ![sableraph](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sableraph/32/251_2.png) [@sableraph](https://discourse.processing.org/u/sableraph)\
**Post date:** [October 31, 2022, 4:06pm UTC](https://discourse.processing.org/t/processing-p3d-p2d-is-not-working-yet-on-macos-ventura/39434/2 "2022-10-31T16:06:19Z")

</div>

Thanks to jaegonlee on Github we have [a temporary solution](https://github.com/processing/processing4/issues/544#issuecomment-1293100685) (until this gets fixed in the Processing codebase)

Add the following import statement above your setup function like so:

```auto
import com.jogamp.opengl.GLProfile;
{
  GLProfile.initSingleton();
}

void setup() {
  size(1024, 768, P3D);
...

```

Then OPENGL should render the sketch window again.
