# P3D: Window doesn't open

**URL:** <https://discourse.processing.org/t/p3d-window-doesnt-open/39965>\
**Category:** Processing\
**Created:** [December 1, 2022, 1:18pm UTC](https://discourse.processing.org/t/p3d-window-doesnt-open/39965 "2022-12-01T13:18:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin1](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@martin1](https://discourse.processing.org/u/martin1)\
**Post date:** [December 1, 2022, 1:18pm UTC](https://discourse.processing.org/t/p3d-window-doesnt-open/39965/1 "2022-12-01T13:18:35Z")

</div>

Whenever I open a P3D sketch and try to run it, a window opens as usual.  
However once I edit the sketch and try to run it, no window appears.

There is a window icon on the task bar, however clicking on it doesn’t open any windows. Does anyone know what could be wrong?

I am working on windows 11, if that helps

---

<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:** [December 1, 2022, 1:21pm UTC](https://discourse.processing.org/t/p3d-window-doesnt-open/39965/2 "2022-12-01T13:21:25Z")

</div>

Hello @martin1 and welcome to the forum!

Which version of Processing are you running?  
Are any of the included P3D examples working for you?

---

<div class="post-metadata">

**Author:** ![martin1](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@martin1](https://discourse.processing.org/u/martin1)\
**Post date:** [December 1, 2022, 1:34pm UTC](https://discourse.processing.org/t/p3d-window-doesnt-open/39965/3 "2022-12-01T13:34:30Z")

</div>

I am using v4.0.1.

The examples seem to be working fine, however the problem seems inconsistent, as it is currently not failing to open the window.

I am using PeasyCam to easily move the camera, could this be the reason why it sometimes fails?

---

<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:** [December 1, 2022, 1:41pm UTC](https://discourse.processing.org/t/p3d-window-doesnt-open/39965/4 "2022-12-01T13:41:11Z")

</div>

I see! Issues that seem to happen randomly can be really frustrating. That said, if you can find a way to consistently reproduce the issue and share a minimal sketch that isolates the bug, it will make it a lot easier to help you 🙂

---

<div class="post-metadata">

**Author:** ![NicolasTroncoso](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/nicolastroncoso/32/6581_2.png) [@NicolasTroncoso](https://discourse.processing.org/u/NicolasTroncoso)\
**Post date:** [December 6, 2022, 4:12pm UTC](https://discourse.processing.org/t/p3d-window-doesnt-open/39965/5 "2022-12-06T16:12:01Z")

</div>

Hello @martin1 and @sableraph I was dealing with the same bug.  
Using Processing 4.0 `size(1440, 1024, P3D);` inside `void setup()` when it runs the window didn’t appear in my monitor while using a mac M1, I thought the issue was with my terminal running oh\_my\_zsh configuration, but after uninstall it, it remian the same issue. Then I downloaded the last version that all worked out.
