Finally got ipv6 working on Unifi 300Mbps + TL-WR1043ND.
Router: TP-Link TL-WR1043ND v3 (it is actually a v2 flashed with v3 firmware long time ago)
Purposely flashed v3 firmware to get ipv6 support (v2 firmware doesn't have ipv6 even v2 & v3 have identical hardware).
Got ipv6 working with PPPoEv6, shared session with PPPoEv4, other settings untouched. Did several test, and it
always took almost 6 mins to get a working ipv6 connection after router reboot. Consistently. And within that 6 mins, both PPPoEv4 & PPPoEv6 keep connecting -> connected -> disconnected.
Ipv6 test confirmed im indeed on native ipv6. Did speed and ping test on ipv6. On speedtest.net, speed is slow, ~3-5Mbps DL, ~1Mbps UL. Ping is fine. On
http://ipv6-test.com/speedtest , ipv4 speed is slow and ipv6 speed is normal.
Flashed openwrt after getting frustrated with unstable connection and slow ipv4 speed on stock fw.
After figuring out interface and vlan settings, got ipv6 (dhcpv6-pd) straight away. Hypptv confirmed to be working too.
Refer to fig below. Note that 1043nd has eth0 and eth1. Refer to
https://klseet.com/202-openwrt/openwrt-tp-l...10031-rc6-unifi for iptv bridge setup. Just configure PPPoE setting in WAN interface and make sure to automatically obtain ipv6 address in the advanced tab. After establishing pppoe connection, the "WAN_6" interface is dynamically created.
Did speed and ping test. Getting normal speed ~320Mbps on speedtest.net and on
http://ipv6-test.com/speedtest , ipv6 speed is actually a tad faster than ipv4. Both ping are normal (ipv6 has lower ping to some of the servers). Connection has been left on for 6 days and not a single connection drop is observed. And lastly, openwrt actually get a working connection faster than the stock firmware (30s from power on to a working ipv4+ipv6 connection, compared to 50s on the stock fw to get a working ipv4 connection, and 6mins more to get a half-working ipv6 connection).
For many complaining that TM's ipv6 implementation is unstable/ has not matured, it might very well be your router fw issue.

