secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
211 stars 53 forks source link

[Crash] GLTF Scene Open/Preview on a mainland region crashes viewer #2963

Open aiaustin opened 2 days ago

aiaustin commented 2 days ago

Environment

Second Life Release 7.1.11.11296522354 (64bit) Release Notes

You are at 90.1, 18.3, 21.2 in Damiano located at simhost-0797712074857416c.agni SLURL: http://maps.secondlife.com/secondlife/Damiano/90/18/21 (global coordinates 262,234.0, 249,106.0, 21.2) Second Life Server 2024-10-15.11356152186 Release Notes

CPU: Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz (3491.91 MHz) Memory: 32689 MB OS Version: Microsoft Windows 10 64-bit (Build 19045.5073) Graphics Card Vendor: NVIDIA Corporation Graphics Card: NVIDIA GeForce GTX 1080/PCIe/SSE2

Windows Graphics Driver Version: 32.0.15.6603 OpenGL Version: 4.6.0 NVIDIA 566.03

Window size: 1258x870 Font Size Adjustment: 96pt UI Scaling: 1 Draw distance: 128m Bandwidth: 10000kbit/s LOD factor: 1.375 Render quality: 3 Texture memory: 8192MB Disk cache: Max size 1638.4 MB (96.8% used)

J2C Decoder Version: KDU v7.10.4 Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.23.1 / OpenAL Community / OpenAL Soft: OpenAL Soft Dullahan: 1.14.0.202408091639 CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54 Chromium: 118.0.5993.54 LibVLC Version: 3.0.21 Voice Server Version: Vivox 4.10.0000.32327.5fc3fe7c.5942f08

Packets Lost: 7/5,715 (0.1%) October 28 2024 10:16:46

Description

When trying to add a glTF scene preview via Develop -> GLTF -> Open, the viewer crashes. On a Bellisseria region for example: ttp://maps.secondlife.com/secondlife/Damiano/90/18/21

Works on Beta grid on Rumpus Room 2048 for example: secondlife://util.aditi.lindenlab.com/secondlife/Rumpus%20Room%202048/142/146/23

This was noted on testing the LL viewers after similar crashes were reported on Firestorm 7.1.11 on regions where glTF mesh preview previously worked.

Reproduction steps

Go to a mainland region, e.g. Damiano. Rez a cube, edit it. Use Develop -> GLTF -> open on any GLTF mesh. Observe crash.

Same on Beta grid, e.g. Rumpus Room 2024 Observe that works.

Expected behaviour is there should not be a crash under any circumstances.

If GLTF mesh open is not allowed the option should be greyed out, as other GLTF menu items are on regions where GLTFEnabled = false.

kylelinden commented 1 day ago

Fix in gltf scene import work.