How to Fix Gray Babylon.js and GLB 3D Model Previews in SharePoint
Question details
Users are encountering an issue where Babylon.js or GLB 3D models fail to render properly in SharePoint previews, displaying only a solid gray screen.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Attempting to preview uploaded 3D models (.glb or Babylon.js format) directly within a SharePoint Online document library.
- Observed behavior
- The 3D model preview remains stuck on a gray shade instead of loading the model's textures and geometry. This frequently happens in specific browsers like Microsoft Edge or when loading larger files.
Ensure your web browser is updated to the latest version and clear your browser cache, as 3D rendering heavily relies on optimal browser performance and WebGL support.
Test the Preview in an Alternative Web Browser
3D rendering engine implementations can vary between browsers. Switching from your current browser can help determine if the gray screen is a browser-specific rendering issue.
In many cases, WebGL or hardware acceleration issues in Microsoft Edge can prevent 3D models from loading correctly, leaving a gray screen. Users have reported successful previews by simply switching to a different modern browser.
If you are currently experiencing the gray screen in Microsoft Edge, close the browser completely.
Launch an alternative modern browser, such as Mozilla Firefox or Google Chrome.
Log in to your SharePoint Online account, navigate to the document library containing your 3D model, and click on the .glb or Babylon.js file to trigger the preview.

Test with a Smaller GLB File
A gray screen is the default loading state for 3D media in SharePoint. Complex or large models may take a long time to process, so testing a small file verifies if the preview feature is functioning at all.
Looking for a Better Way to Manage Documents? Try WPS Office
While 3D model rendering is specific to platforms like SharePoint, if you are looking for a lightweight, highly compatible, and free alternative to Microsoft Office for your standard document needs, WPS Office is an excellent choice.
- 1. Download the software: Visit the official WPS website to download and install the free WPS Office suite on your computer.
- 2. Open existing Office files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files without losing any formatting.
- 3. Save and share: Edit your documents and save them locally or directly to the cloud for effortless sharing.

Frequently Asked Questions
Why do GLB files take so long to preview in SharePoint?
Large 3D files require significant browser memory and network bandwidth to download and render WebGL content locally. During this loading phase, SharePoint displays a gray screen which may persist if the file is too complex for the browser to handle.
Which web browsers are best for viewing 3D models in SharePoint?
While Microsoft Edge is generally supported, users frequently report that Mozilla Firefox provides more consistent WebGL rendering for Babylon.js and GLB files when errors occur in other browsers.
Are there file size limits for 3D models to preview correctly in SharePoint?
While SharePoint permits large file uploads, 3D models should ideally be kept under 50MB (and practically much smaller) to ensure fast and reliable browser previews without timing out or sticking on a gray loading screen.




