Fab tab drag-and-drop fails with "Failed to load the scene file" in Editor 5.5.2, while importing from Assets Browser works

Đang mở
#986 6 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend

Hướng nghiên cứu

The issue names no files; start by locating the Fab tab drag-and-drop handling in the Editor's TypeScript source. Reproduce by dragging an asset from the Fab tab in v5.5.2 and comparing with the working Assets Browser path from v5.4.2. Done when dragging from Fab loads the scene without the 'Failed to load the scene file' error.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug To Deploy

Overview

I found a possible regression in the Fab plugin workflow in Babylon.js Editor 5.5.2.

Fab assets are successfully detected, processed, and imported into the project. The imported files appear correctly under:

assets/fab/

However, dragging an asset directly from the Fab tab into the scene fails with the message: Failed to load the scene file

Image

Additional Information

The asset is successfully processed by the Fab plugin and appears in the project assets. For example, the Console shows messages like: Processed Fab mesh: Cartoon City Free - Low Poly 3D Models Pack

When I navigate Assets Browser → assets → fab, select any assets and drag & drop, the model loads correctly.

Image

I was also able to use the same workflow successfully in Babylon.js Editor 5.4.2, which suggests this may be a regression introduced in 5.5.x.

Ngôn ngữ chính
TypeScript
Star
1.1k
Fork
308
Merge trung bình
4 ngày 5 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của BabylonJS/Editor

Tất cả issue của BabylonJS/Editor

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.