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

ios 更新到 8.0.53 微信后台反馈的bug,堆栈如下 #897

Open
zyrshui opened this issue Nov 3, 2024 · 7 comments
Open

ios 更新到 8.0.53 微信后台反馈的bug,堆栈如下 #897

zyrshui opened this issue Nov 3, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@zyrshui
Copy link

zyrshui commented Nov 3, 2024

描述Bug

WXUncaughtException
WXUncaughtException@weapp://wechat-game-runtime/wxfs/game.js:211:1236
abort@weapp://wechat-game-runtime/wxfs/game.js:252:436476

.wasm-function[b171]@[wasm code] .wasm-function[redir_iiiiifiii]@[wasm code] .wasm-function[__ZN18MultiQueryCallbackIN5physx12PxRaycastHitEE6invokeERfRKNS0_2Sq13PrunerPayloadE]@[wasm code] .wasm-function[redir_iiii]@[wasm code] .wasm-function[__ZN5physx2Gu15AABBTreeRaycastILb0ENS_2Sq8AABBTreeENS2_19AABBTreeRuntimeNodeENS2_13PrunerPayloadENS2_14PrunerCallbackEEclEPKS5_PKNS_9PxBounds3ERKS3_RKNS_6PxVec3ESH_RfSH_RS6_]@[wasm code] .wasm-function[__ZNK5physx2Sq10AABBPruner7raycastERKNS_6PxVec3ES4_RfRNS0_14PrunerCallbackE]@[wasm code] .wasm-function[redir_iiiiii]@[wasm code] .wasm-function[__ZNK5physx14NpSceneQueries10multiQueryINS_12PxRaycastHitEEEbRKNS_15MultiQueryInputERNS_13PxHitCallbackIT_EENS_7PxFlagsINS_9PxHitFlag4EnumEtEEPKNS_12PxQueryCacheERKNS_17PxQueryFilterDataEPNS_21PxQueryFilterCallbackEPNS_20BatchQueryFilterDataE]@[wasm code] .wasm-function[__ZNK5physx14NpSceneQueries7raycastERKNS_6PxVec3ES3_fRNS_13PxHitCallbackINS_12PxRaycastHitEEENS_7PxFlagsINS_9PxHitFlag4EnumEtEERKNS_17PxQueryFilterDataEPNS_21PxQueryFilterCallbackEPKNS_12PxQueryCacheE]@[wasm code] .wasm-function[redir_iiiifiiiii]@[wasm code] .wasm-function[__ZN5Unity12PhysicsQuery7RaycastEiRK3RayfR10RaycastHiti23QueryTriggerInteraction]@[wasm code] .wasm-function[__ZN12PhysXRaycast7RaycastEiRK3Rayfi23QueryTriggerInteractionR10RaycastHit]@[wasm code] .wasm-function[redir_iiiifiii]@[wasm code] .wasm-function[CameraScripting::RaycastTry(float&*, int)]@[wasm code] .wasm-function[CameraRaycastHelper_CUSTOM_RaycastTry_Injected(float&*, int)]@[wasm code] .wasm-function[redir_iiifi]@[wasm code] .wasm-function[_CameraRaycastHelper_RaycastTry_Injected_m2326FE94A96F40A5D51E4261E68C5E42B914D894]@[wasm code] .wasm-function[_CameraRaycastHelper_RaycastTry_m6E6369E18DAA7CA518D8B826E1030FFBDAA79B95]@[wasm code] .wasm-function[_SendMouseEvents_DoSendMouseEvents_m045BF5CABD2F263140E5F1427F81702EE0D3C507]@[wasm code] .wasm-function[redir_vii]@[wasm code] .wasm-function[__Z75RuntimeInvoker_FalseVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017_IntPtr_tPFvvEPK10MethodInfoPvPS4_]@[wasm code] .wasm-function[redir_iiiii]@[wasm code] .wasm-function[dynCall_iiiii]@[wasm code]

@weapp://wechat-game-runtime/wxfs/game.js:252:396659
invoke_iiiii@weapp://wechat-game-runtime/wxfs/game.js:252:193462

.wasm-function[__ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException]@[wasm code] .wasm-function[_il2cpp_runtime_invoke]@[wasm code] .wasm-function[__Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb]@[wasm code] .wasm-function[ScriptingInvocation::Invoke(bool*)]@[wasm code] .wasm-function[__ZN19ScriptingInvocation6InvokeIvEET_P21ScriptingExceptionPtrb]@[wasm code] .wasm-function[__ZN9Scripting11UnityEngine20SendMouseEventsProxy17DoSendMouseEventsEiP21ScriptingExceptionPtr]@[wasm code] .wasm-function[__ZZ36InternalInitializeModule_InputLegacyvEN35PreUpdateSendMouseEventsRegistrator7ForwardEv]@[wasm code] .wasm-function[redir_v]@[wasm code] .wasm-function[__Z17ExecutePlayerLoopP22NativePlayerLoopSystem]@[wasm code] .wasm-function[__Z17ExecutePlayerLoopP22NativePlayerLoopSystem]@[wasm code] .wasm-function[PlayerLoop()]@[wasm code] .wasm-function[MainLoop()]@[wasm code] .wasm-function[redir_v]@[wasm code] .wasm-function[dynCall_v]@[wasm code]

@weapp://wechat-game-runtime/wxfs/game.js:252:409702
browserIterationFunc@weapp://wechat-game-runtime/wxfs/game.js:242:1965
runIter@weapp://wechat-game-runtime/wxfs/game.js:252:1627
Browser_mainLoop_runner@weapp://wechat-game-runtime/wxfs/game.js:250:53
@weapp://wechat-game-runtime/wxfs/game.js:133:896
@weapp://wechat-game-runtime/wxcommlib/WAGameSubContext.js:1:192796
forEach@[native code]
It@weapp://wechat-game-runtime:67:174785

运行环境

目前反馈的用户都是ios的, unity 2019.4.29f1c109  wx-sdk 20240118
@zyrshui zyrshui added the bug Something isn't working label Nov 3, 2024
@zyrshui zyrshui changed the title 微信后台反馈的bug,堆栈如下 ios 更新到 8.0.53 微信后台反馈的bug,堆栈如下 Nov 4, 2024
@zyrshui
Copy link
Author

zyrshui commented Nov 4, 2024

目前反馈的都是 ios 8.0.53的

@zyrshui
Copy link
Author

zyrshui commented Nov 4, 2024

定位到Physics.Raycast(ray, out hit, Mathf.Infinity, 1 << LayerMask.NameToLayer("Ground")) 引起的崩溃,Physics.Raycast在小游戏里为啥会崩溃呢,

@zyrshui
Copy link
Author

zyrshui commented Nov 14, 2024

每天几百个报错都是ios的,安卓和pc都没有问题,怀疑是ios微信的和unity的兼容问题,怎么解决呢

@Oooocean
Copy link
Collaborator

是否联系到玩家,或者是否有复现路径?

@Oooocean Oooocean self-assigned this Nov 25, 2024
@zyrshui
Copy link
Author

zyrshui commented Nov 25, 2024

大部分是切换场景的时候,发生的

@zyrshui
Copy link
Author

zyrshui commented Dec 13, 2024

这个报错每次都伴随这 WXAssetBundle 加载一个二进制数据 downloadHandler.data 为空的情况,已经判定了 string.IsNullOrEmpty(www.error) 但有时downloadHandler.data 为空,很奇怪

@Kingrd97
Copy link

这个报错每次都伴随这 WXAssetBundle 加载一个二进制数据 downloadHandler.data 为空的情况,已经判定了 string.IsNullOrEmpty(www.error) 但有时downloadHandler.data 为空,很奇怪

正常情况下 downloadHandler.data 就是空的,应该跟这个没关系。你说的是不是 bundle 是空的?麻烦联系小助手提供下完整日志。

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

3 participants