Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game stuck after clicking the start button of launcher #842

Closed
Yushu2606 opened this issue Jun 13, 2023 · 10 comments
Closed

Game stuck after clicking the start button of launcher #842

Yushu2606 opened this issue Jun 13, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@Yushu2606
Copy link

Yushu2606 commented Jun 13, 2023

Describe the bug
Game Stuck, no window was shown.

To Reproduce
Steps to reproduce the behavior:

  1. Click start button
  2. Launcher is hidden and nothing shown
  3. See error

Expected behavior
A window of Minecraft was be shown.

Desktop (please complete the following information):

  • OS: macOS 14.0
  • Version: v0.10.0-macOS-x86_64-0.2.435 (build 435)
  • Installation Type: dmg
  • Game Version: 1.20.0.01 (X86_64)

Additional context

09:54:19 Info  [Launcher] Version: client 8986784 / manifest df4203b
09:54:19 Info  [Launcher] CPU: GenuineIntel VirtualApple @ 2.50GHz
09:54:19 Info  [Launcher] CPU supports SSSE3: YES
09:54:19 Trace [Launcher] Loading hybris libraries
09:54:19 Trace [Launcher] linker loaded
09:54:19 Trace [REDIRECT] /data/data/com.mojang.minecraftpe to /Users/User/Library/Application Support/mcpelauncher/
09:54:19 Trace [REDIRECT] /data/data/Applications/Minecraft Bedrock Launcher.app/Contents/proc/6235/cmdline to /Users/User/Library/Application Support/mcpelauncher/
09:54:19 Trace [REDIRECT] /data/data/Applications/Minecraft Bedrock Launcher.app/Contents/MacOS/./mcpelauncher-client to /Users/User/Library/Application Support/mcpelauncher/
09:54:19 Trace [REDIRECT] /data/data to /Users/User/Library/Application Support/mcpelauncher/
09:54:19 Trace [REDIRECT] . to /Users/User/Library/Application Support/mcpelauncher/versions/1.20.0.01/assets/
09:54:19 Trace [LinkerUtils] Loaded OS library libm.dylib
09:54:19 Trace [LinkerUtils] Loaded OS library libz.dylib
09:54:19 Trace [LinkerUtils] Loaded OS library /Applications/Minecraft Bedrock Launcher.app/Contents/Resources/mcpelauncher/lib/native/x86_64/libfmod.dylib
09:54:19 Trace [Launcher] Loading Minecraft library
linker: mcpelauncher_linker_notifylldb /Users/User/Library/Application Support/mcpelauncher/versions/1.20.0.01/lib/x86_64/libc++_shared.so 0x10c700000
09:54:20 Error [MinecraftUtils] Failed to load Minecraft: dlopen failed: cannot locate symbol "glBindRenderbuffer" referenced by "/Users/User/Library/Application Support/mcpelauncher/versions/1.20.0.01/lib/x86_64/libminecraftpe.so"...
09:54:20 Info  [Launcher] Loading gamepad mappings
09:54:20 Trace [Launcher] Loading gamepad mappings: /Applications/Minecraft Bedrock Launcher.app/Contents/Resources/mcpelauncher/gamecontrollerdb.txt
09:54:20 Info  [Launcher] Creating window
linker: mcpelauncher_linker_notifylldb /Users/User/Library/Application Support/mcpelauncher/versions/1.20.0.01/lib/x86_64/libminecraftpe.so 0x11bc80000
Found hook: _ZN11AppPlatform16showMousePointerEv @ 0x1009d5b50
Found hook: _ZN11AppPlatform16hideMousePointerEv @ 0x1009d5b30
Found hook: _ZN11AppPlatform17setFullscreenModeE14FullscreenMode @ 0x1009d5b70
09:54:22 Info  [Launcher] Loaded Minecraft library
09:54:22 Debug [Launcher] Minecraft is at offset 0x11BC80000
09:54:22 Info  [Launcher] Game version: 0.0.0.0
09:54:22 Info  [Launcher] Applying patches
09:54:22 Debug [CorePatches] Failed to patch, vtable _ZTV21AppPlatform_android23 not found
09:54:22 Info  [Launcher] Initializing JNI
09:54:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeRegisterThis
09:54:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeInitializeWithApplicationContext
09:54:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeUnregisterThis
09:54:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeinitializeLibHttpClient
09:54:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_NetworkMonitor_nativeUpdateNetworkStatus
09:54:22 Error [JniSupport] Missing native symbol: Java_com_microsoft_xal_browser_WebView_urlOperationSucceeded
09:54:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_PlayIntegrity_nativePlayIntegrityComplete
09:54:22 Trace [Minecraft] Entering JNI_OnLoad 0x306c5b000
09:54:22 Info  [Launcher] Executing main thread
09:54:22 Trace [Minecraft] JNI_OnLoad completed
09:54:22 Trace [JniSupport] Invoking nativeRegisterThis
09:54:22 Trace [JniSupport] Invoking ANativeActivity_onCreate
09:54:22 Warn  [Main] Android stub called
09:54:22 Warn  [Main] Android stub called
09:54:22 Warn  [Main] Android stub called
09:54:22 Warn  [Main] Android stub called
09:54:22 Trace [JniSupport] Invoking start activity callbacks
09:54:22 Info  [Minecraft] android_main starting. internalDataPath is '/internal', externalDataPath is '/external'
09:54:22 Error [MCPE] *** setCachedDeviceId(<hide>)
09:54:22 Info  [Bedrock] configureBreakpad with directory: /crash, sessionid is: <hide>
@Yushu2606 Yushu2606 added the bug Something isn't working label Jun 13, 2023
@ChristopherHX
Copy link
Member

ChristopherHX commented Jun 13, 2023

Due to transperency of Rosetta2 is it not 100% clear if you have an intel mac. If you have one skip my questions with (m1). You have an m1. CPU name in log

Have applied the Rosetta2 Workaround (m1)?

https://developer.apple.com/documentation/macos-release-notes/macos-14-release-notes

Have you tried to use the arm64 version #819 (comment) (m1)?

Have you tried to use Metal? (Profile editor / pencil button) Or tried with OpenGL if you were using metal.

@Yushu2606
Copy link
Author

Have applied the Rosetta2 Workaround (m1)?

yes, I'm using Rosetta2 for m2 chip

Have you tried to use the arm64 version #819 (comment) (m1)?

sorry but I can not found the arm64 version of this

Have you tried to use Metal? (Profile editor / pencil button) Or tried with OpenGL if you were using metal.

yes, but everything is same

@ChristopherHX
Copy link
Member

ChristopherHX commented Jun 13, 2023

The arm64 game launcher is included in the launcher you have installed, but hidden under developer options

  • Go to settings (gear icon, don't press play)
  • Switch to tab "Dev"
  • Check unsupported versions (Disable this setting if you leave the experiment)
  • Close settings
  • Press edit profil (pencil)
  • change the version from the dropdown
  • select 1.19.70.02 (arm64-v8a)
  • press download and play

change the version from the dropdown

This is a long list, after "unsupported versions" is enabled it shows all variants known to the launcher. You have to scroll past the intel versions.

@Yushu2606
Copy link
Author

Yushu2606 commented Jun 13, 2023

The arm64 game launcher is included in the launcher you have installed, but hidden under developer options

  • Go to settings (gear icon, don't press play)
  • Switch to tab "Dev"
  • Check unsupported versions (Disable this setting if you leave the experiment)
  • Close settings
  • Press edit profil (pencil)
  • change the version from the dropdown
  • select 1.19.70.02 (arm64-v8a)
  • press download and play

change the version from the dropdown

This is a long list, after "unsupported versions" is enabled it shows all variants known to the launcher. You have to scroll past the intel versions.

game can be open now, but it said Failed to open Xboxlive login Window. Please look into the gamelog for more Information: mcpelauncher-webview not found when i try to login to xbox live

@ChristopherHX
Copy link
Member

game can be open now, but it said Failed to open Xboxlive login Window. Please look into the gamelog for more Information: mcpelauncher-webview not found when i try to login to xbox live

I cannot help you with that problem, I don't own apple m series hardware.
The x86_64 launcher finds it, but as you explained it can no longer be used starting with macOS 14 on m series hardware via rosetta2.

Building an arm64 mcpelauncher-webview is not possible with the current CI/CD workflow.

Does adding the path/to/x.app/Contents/MacOs/ (path/to/x.app this text have to be changed) folder to PATH env var make the error disappear or change?

@Yushu2606
Copy link
Author

Yushu2606 commented Jun 14, 2023

path/to/x.app

thanks for your help but change this to what?

@ChristopherHX
Copy link
Member

change this to what?

Path to this launcher app. You can install it literally anywhere, not only in /Applications/Minecraft Bedrock Launcher.app.

@Yushu2606
Copy link
Author

Yushu2606 commented Jun 14, 2023

change this to what?

Path to this launcher app. You can install it literally anywhere, not only in /Applications/Minecraft Bedrock Launcher.app.

I added export PATH = "/Applications/Minecraft Bedrock Launcher.app/Contents/MacOS/:$PATH"(the app is in there) into /private/etc/profile but nothing changed

@ChristopherHX
Copy link
Member

I have my doubts that your change was applied to GUI apps. (I'm also not shure that = works, usually you should avoid any spaces, e.g. bash is weird)

Try to type this into your Terminal, while the app is closed

PATH="/Applications/Minecraft Bedrock Launcher.app/Contents/MacOS/:$PATH" mcpelauncher-ui-qt

@Yushu2606
Copy link
Author

I have my doubts that your change was applied to GUI apps. (I'm also not shure that = works, usually you should avoid any spaces, e.g. bash is weird)

Try to type this into your Terminal, while the app is closed

PATH="/Applications/Minecraft Bedrock Launcher.app/Contents/MacOS/:$PATH" mcpelauncher-ui-qt

it is worked! thank you very much! I will close this issue after I ensure everything is fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants