When attempting to join a Minecraft Bedrock server via a domain name (A Record) over a 5G network using NAT64/DNS64 (IPv6-only mobile network), the app crashes immediately.
This issue is not occured when I try to connect with IPv4 only network (e.g., Wifi or using Cloudflare WARP).
My atteched logs are collected by adb tool via Linux.
Root Cause:
The carrier DNS translates the IPv4 domain to a synthetic IPv6 address (e.g., ff9b::...).
The app appends the port number (e.g., ff9b::daed:e877:19132) without proper brackets, causing libHttpClient.Android.so to throw java.lang.IllegalArgumentException: Invalid URL port and crash.
Thank you for helping us improve Minecraft! We saved your files: