Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Error - Framebuffer incomplete: GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT


Recommended Posts

Hello again everyone,

 

I am having an issue with the editor whereby it works absolutely fine in the textured render mode but as soon as I try and run the game or if I render a window in textured+lighting I get the error: Framebuffer incomplete: GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

 

Now I have been looking at the forums for a while now and it seems that this has happened before but the solutions proposed (deleting objects + computer restart) do not seem to be working...

 

This wasn't a problem before until I added lots of lights to my game... I am making an inside level so exclusively using Point Lights and Spot Lights rather than a Directional Light (which I was saving for later to act as the Sun (The game is in Space at the moment).

 

I started with floor lights from the Sci-Fi constructors kit and added spot lights to them and this seemed to work fine but I wasn't keen on the type of light so I swapped to Point Lights. This is when I started having issues, when I replaced all of my spot lights with point lights I started getting the crash and the above mentioned error. (I did this manually)

 

Does this mean that the engine doesn't support lots of Point Lights (as the Spot Lights worked fine)?

Have I messed up somewhere?

 

In Debug mode it highlights the render world function (I haven't touched any scripts yet)

 

PS: It's worth noting that I made one light and then saved it as a prefab and then Ctrl+Dragged it so that I had the same light all over the place... We are talking 50+ lights and counting... Should I make directional lights inside the rooms and put a 'fake' light model in to reduce the amount of lights?

 

PPSS: My PC specs are in my signature.

 

THANKS! :)

Link to post
Share on other sites

I just deleted every single light in my game and it works again!

I have tried adding a few lights and so far so good...

 

I'm assuming I ran out of memory and created a crash due to light bulb overkill...

Does anyone know how to keep memory usage down and allow for more lights?

 

Is this a limit of the engine or my computer?

 

Thanks again!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...