3D silently throws error on single layer maps

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
frontend, game-dev

Hướng nghiên cứu

Start with BabylonViewer.ts, especially generateGroundLayer at line 165, and trace how single layer maps reach that method during initialization. Reproduce the blank render with a single layer map and inspect the failing access to details; done when the map renders without the reported error.

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

Mô tả

bug

Causes a blank render without error.

Observed in d-link-test:

Uncaught (in promise) TypeError: Cannot read property 'details' of undefined
    at BabylonViewer.generateGroundLayer (BabylonViewer.ts:165)
    at BabylonViewer.initBabylonInternal (BabylonViewer.ts:98)
    at BabylonViewer.init (BabylonViewer.ts:38)
    at babylon.component.ts:44
Ngôn ngữ chính
TypeScript
Star
59
Fork
19
Merge trung bình
32 phút
Pull request đã merge (30 ngày)
2

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 CCDirectLink/crosscode-map-editor

Tất cả issue của CCDirectLink/crosscode-map-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.