Build Changing Title

Really weird issue wherein the index.html outputted in dist/ is not updating the title properly.

It is stuck using the old title, and I can’t figure out how to fix this!


Original Post on Discord

by user 140331708296855552

Top is the index.html , bottom is the dist/index.html that is continuously generated with the old Title

by user 140331708296855552

I have since updated description and other meta tags no problem, but title is static :frowning_with_open_mouth:

by user 140331708296855552

It seems there is some build tool that is creating meta information, given that the twitter:image and og:image are auto-generated, but I think this is fucking up my tags

by user 140331708296855552

Hi, yes, this can be a bit confusing – you can set the title too from Unity.
Just add a HtmlMeta component to your ExportInfo and that will be used.

Alternatively if you want to turn off the automatism entirely then you can specify “allowMetaPlugin: false” in vite.config.js:

Haha! I knew you guys were doing something sneaky

by user 140331708296855552

TY

by user 140331708296855552

Haha, just trying to make sure that everyone has nice unfurl thumbnails by default :slightly_smiling_face: