X-Plane / xptools

X-Plane Scenery Tools: WorldEditor (WED) and more
91 stars 34 forks source link

WED: Crash when previewing custom .net #22

Closed d41k4n closed 3 years ago

d41k4n commented 3 years ago

WED 2.4.0 seems unable to handle certain custom .net files (which seem perfectly valid according to the spec AFAICT) and crashes during preview.

Here's how to reproduce:

  1. Download attached zip archive
  2. Extract content into X-Plane's "Custom Scenery" folder
  3. Fire up WED
  4. Open scenery pack "test-scenery"
  5. In the library pane select Local -> road_test.net

There's nothing really useful in the log.

test-scenery.zip

d41k4n commented 3 years ago

It seems the crash is caused by a missing TEXTURE directive in the custom .net. I guess it's required by the spec even though it's not really required by X-Plane itself (it works just fine without warnings or errors).

Would be great if WED could handle cases like this more gracefully.

d41k4n commented 3 years ago

Since this is apparently the wrong place for submitting bug reports I have added one via the scenery gateway website instead:

https://gateway.x-plane.com/bug_reports/WED-1390/show