The native launcher sometimes fails to download the version JSON for an inherited version, resulting in a launch error. This works fine in the Java launcher.
To reproduce
Before reproducing, delete .minecraft/versions/1.8.6
if present (I chose 1.8.6 as it is an old, unlikely to be used version).
Then, create a folder named MCL-5443
within .minecraft/versions
, and within that folder, create a file named MCL-5443.json
. Put the following in the file:
{
"inheritsFrom": "1.8.6",
"id": "MCL-5443",
"time": "2017-05-13T17:52:47-07:00",
"releaseTime": "2017-05-13T17:52:47-07:00",
"type": "release",
"jar": "1.8.6"
}
Now, open the launcher, and create a new profile. Select MCL-5443
for the version. Attempt to launch that profile.
Observe that the launcher crashes (not the game, the launcher), rather than downloading the appropriate version (which it does on the Java launcher). On subsequent launches, you will receive the message "the version you are trying to play inherits properties from an unknown version".
Unfortunately, I'm not able to consistently reproduce this behavior, but it does happen. I'll keep trying and try to capture a stacktrace through VS.
Original description
when i go to lauch 1.8.9 optifine it pops up saying 'the version you are trying to play inherits properties from an unknown version'
What I expected to happen was...:
it loaded and i played minecraft
What actually happened was...:
the popup stops me from playing minecraft and says 'the version you are trying to play inherits properties from an unknown version'
Steps to Reproduce:
1. open the laucher
2.click on 1.8.9 optifine and press play
3. the it pops up saying 'the version you are trying to play inherits properties from an unknown version'
Linked issues
is duplicated by 14
Comments 7
{
"id": "1.7.10-Forge10.13.4.1614-1.7.10",
"time": "2015-12-10T00:05:37-0500",
"releaseTime": "1960-01-01T00:00:00-0700",
"type": "release",
"minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userProperties ${user_properties} --userType ${user_type} --tweakClass cpw.mods.fml.common.launcher.FMLTweaker",
"mainClass": "net.minecraft.launchwrapper.Launch",
"minimumLauncherVersion": 14,
"assets": "1.7.10",
"inheritsFrom": "1.7.10",
"jar": "1.7.10",
"libraries": [
{
"name": "net.minecraftforge:forge:1.7.10-10.13.4.1614-1.7.10",
"url": "http://files.minecraftforge.net/maven/"
},
{
"name": "net.minecraft:launchwrapper:1.12",
"serverreq": true
},
{
"name": "org.ow2.asm:asm-all:5.0.3",
"serverreq": true
},
{
"name": "com.typesafe.akka:akka-actor_2.11:2.3.3",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"ed62e9fc709ca0f2ff1a3220daa8b70a2870078e",
"25a86ccfdb6f6dfe08971f4825d0a01be83a6f2e"
],
"serverreq": true,
"clientreq": true
},
{
"name": "com.typesafe:config:1.2.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"f771f71fdae3df231bcd54d5ca2d57f0bf93f467",
"7d7bc36df0989d72f2d5d057309675777acc528b"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-actors-migration_2.11:1.1.0",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f",
"8c9aaeeb68487ca519411a14068e1b4d69739207"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-compiler:2.11.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"56ea2e6c025e0821f28d73ca271218b8dd04926a",
"1444992390544ba3780867a13ff696a89d7d1639"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"87213338cd5a153a7712cb574c0ddd2edfee0386",
"0b4c1bf8d48993f138d6e10c0c144e50acfff581"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"1f7371605d4ba42aa26d3443440c0083c587b4e9",
"1ea655dda4504ae0a367327e2340cd3beaee6c73"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-library:2.11.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"0e11da23da3eabab9f4777b9220e60d44c1aab6a",
"1e4df76e835201c6eabd43adca89ab11f225f134"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-parser-combinators_2.11:1.0.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"f05d7345bf5a58924f2837c6c1f4d73a938e1ff0",
"a1cbbcbde1dcc614f4253ed1aa0b320bc78d8f1d"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-reflect:2.11.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"6580347e61cc7f8e802941e7fde40fa83b8badeb",
"91ce0f0be20f4a536321724b4b3bbc6530ddcd88"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-swing_2.11:1.0.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"b1cdd92bd47b1e1837139c1c53020e86bb9112ae",
"d77152691dcf5bbdb00529af37aa7d3d887b3e63"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-xml_2.11:1.0.2",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"7a80ec00aec122fba7cd4e0d4cdd87ff7e4cb6d0",
"62736b01689d56b6d09a0164b7ef9da2b0b9633d"
],
"serverreq": true,
"clientreq": true
},
{
"name": "lzma:lzma:0.0.1",
"serverreq": true
},
{
"name": "net.sf.jopt-simple:jopt-simple:4.5",
"serverreq": true
},
{
"name": "com.google.guava:guava:17.0",
"serverreq": true
},
{
"name": "org.apache.commons:commons-lang3:3.3.2",
"serverreq": true
}
]
}
From my experience, this seems to occur when you run a mod prior to running the vanilla version. You also have to run the vanilla version using the updated launcher, if you did it with the old one but not the new one, this happens. In addition, if you do it wrong once, the launcher sends up some sort of flag or something and the profile doesn't work any more. Here's how to fix:
1. Delete whatever profile you were using to run the mod.
2. Run the vanilla version that the mod uses. (ie. if you were running Forge 1.9.4, you would run Vanilla 1.9.4)
3. Close that.
4. Create a new profile with whatever modded version you were trying to run.
5. Run that new profile.
This should fix your problem. If it doesn't, then follow the same steps as before but delete the modded version you were using between steps 1 and 2, and then re-install the modded version between steps 3 and 4.
FYI before I post my comment
I am using the twitch desktop client for modding my Minecraft game and the game version I'm modding is 1.10.2 and tested 1.12.2 [same error in both with latest forge versions at the time]
I just tried that and it failed I also tried using the jar launcher and that also failed but it shows a unique error that is more descriptive than the native launcher
it told me that an "error occurred during initialization of VM"
that it "could not reserve enough space for {a ram amount in kb} object heap"
{i'm using about 3-4gb as it is in the recommended scalable bar in the twitch client settings}
and "Java HotSpot(TM) Client VM warning: ignoring option PermSize=256m; support was removed in 8.0"
{the perm size i am not knowledgeable in}
Is this still a concern in the current Minecraft Launcher version 2.0.1003 / 2.0.1004? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. It will be reopened it as soon as the requested information has been delivered.
Can I get a copy of that custom version? There should be a json file at .minecraft/versions/your-optifine-version-here/your-optifine-version-here.json