I have too little insight into obsidian-typst to say more, but I’d investigate the following things:
are you sure you’re using your plugin? I found this line, if it is run it would mean you’re using a release version of the original code. To check, you could add a panic somewhere.
0.4.0 is the first version of CeTZ to use WASM. Does the same happen with other packages using WASM, e.g. using suiji’s “fast” functions? (I’m pretty sure it will, but good to check)
reading files seems to go through this JS function, so you should be able to print/debug the file contents you get. Check what is reported as cetz_core.wasm’s contents, and compare to the one here.
Detailed JS & Rust debugging help for tools that integrate Typst is out of this forum’s scope, but I hope this has helped a bit.
thank you for your time and effort to look into this, but after testing another plugin, i don’t think i’ll continue spending time on that cuz i reli wanna get back to the study material