It says "Object reference not set to an instance of an object" whenever I download 1.18 for forge or fabric, I tried 1.17 and it did work but if I make a custom one or download a mod pack, any idea's to fix it?
my computer went to sleep and then I turned it back on and now it works for anyone who has this issue (it also could have been fixed by curseforge devs)
I am not getting this error every time I start minecraft:
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. program will exit