I had downloaded 1.16.3 Forge and had WorldEdit and Optifine installed and everything was working perfectly but in the last couple days, I've started getting Exit Code: 0 when launching. I tried removing all the mods I had installed, updating Forge and the other mods, and even uninstalling and reinstalling MC with no luck. When I launch the Optifine profile, it works, but it's when I try forge that it crashes. I also tried launching in compatibility mode using the legacy launcher. I've attached the debug text if that helps. Thanks!
[16Jan2021 22:34:51.295] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Dollar89, --version, 1.16.4-forge-35.1.4, --gameDir, C:\Users\ethan\AppData\Roaming\.minecraft, --assetsDir, C:\Users\ethan\AppData\Roaming\.minecraft\assets, --assetIndex, 1.16, --uuid, e1f483bd5ae145979da15572a3fcfc8d, --accessToken, ????????, --userType, mojang, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 35.1.4, --fml.mcVersion, 1.16.4, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20201102.104115]
[16Jan2021 22:34:51.300] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.6+85+master.325de55 starting: java version 1.8.0_51 by Oracle Corporation
[16Jan2021 22:34:51.306] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,testharness,fmlclient,fmlserver]
[16Jan2021 22:34:51.310] [main/WARN] [cpw.mods.modlauncher.SecureJarHandler/]: LEGACY JDK DETECTED, SECURED JAR HANDLING DISABLED
[16Jan2021 22:34:51.315] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : []
[16Jan2021 22:34:51.348] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,object_holder_definalize,runtime_enum_extender,accesstransformer,capability_inject_definalize,runtimedistcleaner]
[16Jan2021 22:34:51.355] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services
[16Jan2021 22:34:51.364] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: [C:\Users\ethan\AppData\Roaming\.minecraft\mods\OptiFine_1.16.3_HD_U_G3.jar]
[16Jan2021 22:34:51.388] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,OptiFine,fml]
[16Jan2021 22:34:51.388] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading
[16Jan2021 22:34:51.388] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin
[16Jan2021 22:34:51.389] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin
[16Jan2021 22:34:51.389] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service OptiFine
[16Jan2021 22:34:51.389] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.onLoad
[16Jan2021 22:34:51.390] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFine ZIP file: C:\Users\ethan\AppData\Roaming\.minecraft\mods\OptiFine_1.16.3_HD_U_G3.jar
[16Jan2021 22:34:51.397] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service OptiFine
[16Jan2021 22:34:51.397] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml
[16Jan2021 22:34:51.397] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/]: Injecting tracing printstreams for STDOUT/STDERR.
[16Jan2021 22:34:51.399] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 35.1
[16Jan2021 22:34:51.399] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 35.1 loading
[16Jan2021 22:34:51.400] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 8.0.6+85+master.325de55
[16Jan2021 22:34:51.400] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Initializing modjar URL handler
[16Jan2021 22:34:51.400] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 2.2.0+57+master.16c1bdb
[16Jan2021 22:34:51.400] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 3.0.5+64+master.ec454d4
[16Jan2021 22:34:51.401] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner
[16Jan2021 22:34:51.402] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 3.0.0+9+master.3817658
[16Jan2021 22:34:51.403] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 3.2.0+13+master.8ddb2cc
[16Jan2021 22:34:51.403] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 3
[16Jan2021 22:34:51.474] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[16Jan2021 22:34:51.474] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml
[16Jan2021 22:34:51.477] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services
[16Jan2021 22:34:51.484] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing
[16Jan2021 22:34:51.485] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin
[16Jan2021 22:34:51.486] [main/DEBUG] [mixin/]: Mixin bootstrap service org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapperBootstrap is not available: LaunchWrapper is not available
[16Jan2021 22:34:51.490] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in sun.misc.Launcher$AppClassLoader@4554617c
[16Jan2021 22:34:51.503] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/C:/Users/ethan/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=ModLauncher Env=CLIENT
[16Jan2021 22:34:51.504] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager
[16Jan2021 22:34:51.504] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(4f56a0a2)
[16Jan2021 22:34:51.505] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(4f56a0a2)
[16Jan2021 22:34:51.505] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(4f56a0a2)
[16Jan2021 22:34:51.505] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(4f56a0a2)
[16Jan2021 22:34:51.505] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(4f56a0a2)
[16Jan2021 22:34:51.507] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin
[16Jan2021 22:34:51.507] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service OptiFine
[16Jan2021 22:34:51.507] [main/INFO] [optifine.OptiFineTransformationService/]: OptiFineTransformationService.initialize
[16Jan2021 22:34:51.508] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service OptiFine
[16Jan2021 22:34:51.508] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml
[16Jan2021 22:34:51.508] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories
[16Jan2021 22:34:51.509] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\ethan\AppData\Roaming\.minecraft
[16Jan2021 22:34:51.509] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is C:\Users\ethan\AppData\Roaming\.minecraft
[16Jan2021 22:34:51.509] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\ethan\AppData\Roaming\.minecraft\mods
[16Jan2021 22:34:51.509] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is C:\Users\ethan\AppData\Roaming\.minecraft\mods
[16Jan2021 22:34:51.510] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\ethan\AppData\Roaming\.minecraft\config
[16Jan2021 22:34:51.510] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\ethan\AppData\Roaming\.minecraft\config
[16Jan2021 22:34:51.510] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\ethan\AppData\Roaming\.minecraft\config\fml.toml
[16Jan2021 22:34:51.510] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration
[16Jan2021 22:34:51.532] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: java.lang.RuntimeException: Failed to load FML config from C:\Users\ethan\AppData\Roaming\.minecraft\config\fml.toml
[16Jan2021 22:34:51.532] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:64)
[16Jan2021 22:34:51.532] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLConfig.load(FMLConfig.java:77)
[16Jan2021 22:34:51.532] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at net.minecraftforge.fml.loading.FMLServiceProvider.initialize(FMLServiceProvider.java:81)
[16Jan2021 22:34:51.532] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServiceDecorator.onInitialize(TransformationServiceDecorator.java:68)
[16Jan2021 22:34:51.533] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.lambda$initialiseTransformationServices$7(TransformationServicesHandler.java:107)
[16Jan2021 22:34:51.533] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler$$Lambda$93/1552999801.accept(Unknown Source)
[16Jan2021 22:34:51.533] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at java.util.HashMap$Values.forEach(HashMap.java:972)
[16Jan2021 22:34:51.533] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initialiseTransformationServices(TransformationServicesHandler.java:107)
[16Jan2021 22:34:51.533] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:59)
[16Jan2021 22:34:51.534] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.run(Launcher.java:76)
[16Jan2021 22:34:51.534] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1052]: at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
[16Jan2021 22:34:51.534] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: Caused by: com.electronwill.nightconfig.core.io.ParsingException: Not enough data available
[16Jan2021 22:34:51.534] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.ParsingException.notEnoughData(ParsingException.java:22)
[16Jan2021 22:34:51.535] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.ReaderInput.directReadChar(ReaderInput.java:36)
[16Jan2021 22:34:51.535] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.AbstractInput.readChar(AbstractInput.java:49)
[16Jan2021 22:34:51.535] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.AbstractInput.readCharsUntil(AbstractInput.java:123)
[16Jan2021 22:34:51.535] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:166)
[16Jan2021 22:34:51.535] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145)
[16Jan2021 22:34:51.535] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55)
[16Jan2021 22:34:51.535] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44)
[16Jan2021 22:34:51.536] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)
[16Jan2021 22:34:51.536] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113)
[16Jan2021 22:34:51.536] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219)
[16Jan2021 22:34:51.536] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202)
[16Jan2021 22:34:51.536] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73)
[16Jan2021 22:34:51.536] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.file.AutoreloadFileConfig.load(AutoreloadFileConfig.java:41)
[16Jan2021 22:34:51.536] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85)
[16Jan2021 22:34:51.537] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: at net.minecraftforge.fml.loading.FMLConfig.loadFrom(FMLConfig.java:60)
[16Jan2021 22:34:51.537] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1061]: ... 10 more