Whenever I try to record (I've been using 'Game Capture' but haven't tried other sources as it doesn't allow me to record the Minecraft window) on OBS while playing Minecraft Java Edition, Minecraft quickly crashes and gives exit code "-1073741819".
Linked issues
Comments 2

Thank you for your report!
We're tracking this issue in MC-229195, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as invalid. Please take a look at the parent ticket (MC-229195) and see if an explanation is provided there in the description of the ticket or in the comments for why this issue is invalid.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
This seems to be a similar issue to MC-248535, MC-245565 and MC-253148
Update: I would also like to mention that this is likely invalid since this is caused by OBS and isn't really a crash coming from the game itself.