Red item textures in inventory
Summary
Textures for inventory items (trade windows, hotbar, etc) appear red when running cargo run --release
, but appear normal when running cargo run
Steps to reproduce
Use macOS M1 Macbook Pro:
Checkout nightly tag or commit here:
commit c307d618962c51716ed4474858da79bb2cbc67b4 (HEAD, tag: nightly)
Merge: e57f20de6 e606ec4cb
Author: crabman <vlrncrabman+veloren@gmail.com>
Date: Thu Feb 29 16:25:24 2024 +0000
Merge branch 'juliancoffee/fix-sahagin-hakulaq' into 'master'
Sahagin's Hakulaq hotfix
See merge request veloren/veloren!4346
Run cargo run
and compare to cargo run --release
.
Observe strange output in release mode:
Relevant logs and/or screenshots
System info?
2024-03-06T00:40:22.872668Z INFO wgpu_core::instance: Adapter Metal AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
2024-03-06T00:40:22.872984Z INFO veloren_voxygen::render::renderer: graphics device #0 info.name="Apple M1 Max" info.vendor=0 info.backend=Metal info.device=0 info.device_type=IntegratedGpu
2024-03-06T00:40:22.873227Z INFO wgpu_core::instance: Adapter Metal AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
2024-03-06T00:40:22.873380Z INFO veloren_voxygen::render::renderer: selected graphics device info.name="Apple M1 Max" info.vendor=0 info.backend=Metal info.device=0 info.device_type=IntegratedGpu
2024-03-06T00:40:22.878092Z INFO veloren_voxygen::render::renderer: Using Bgra8UnormSrgb as the surface format
2024-03-06T00:40:22.878118Z INFO veloren_voxygen::render::renderer: Using Rgba16Float as the intermediate format
2024-03-06T00:40:22.878191Z INFO wgpu_hal::metal::surface: build swapchain SurfaceConfiguration { swap_chain_size: 3, present_mode: Fifo, composite_alpha_mode: Opaque, format: Bgra8UnormSrgb, extent: Extent3d { width: 3456, height: 2102, depth_or_array_layers: 1 }, usage: TextureUses(COLOR_TARGET), view_formats: [] }
System details
M1 Max Macbook Pro 32 GB
Veloren version
nightly 02-29-24
commit c307d618962c51716ed4474858da79bb2cbc67b4 (HEAD, tag: nightly)