Objects in editor/PIE are invisible unless selected.

I have been working on a project for a few months, and everything has been running smoothly until just now, I opened the project to see that in every level, all objects are invisible, and all gizmo icons are flat/distorted. It also seems to be rendering strangely, and everything stays invisible even while playing. Toggling other view settings [shader complexity, lighting, etc] shows that the objects are still there, they just don’t show up.

The editor did not crash prior to this, so I doubt it’s a crash-related bug. I deleted the saved and intermediate folders, wiped the appdata folders, and restarted the computer, but the issue remains. It’s only present on this project.

Selected view:

Not selected view:

It also seems to have chosen a few random meshes to render, but these go invisible when playing. Is this a setting that is somehow easy to accidentally toggle? Or it it a horrible engine-breaking bug that will cause me to lose months of work?

Hey Jesterhead37,

Have you modified the ‘Near Clip Plane’ within your Project Settings?

To check this navigate to your Project Settings > General Settings > Settings > Near Clip Plane.

I believe the default is set to 10.0, but if this is set to 0.0 this can cause your editor icons and other odd things to occur within the editor viewport.

Let me know if this resolved your issue or if you need further assistance.

Cheers,

Woah! That worked! Strange that setting it to 0 would do something like that, but setting it to 0.01 works just the same and doesn’t cause this issues. Why does that happen? Does the engine just not show anything if it goes to a value of 0?

Anyway, thanks a bunch for the suggestion. That’s exactly what I had tweaked the other day, so now I know the issue.