WebGL的一些Bug

一、TypeErrpr,Cannot set properties of undefined("setting 1") at _JS_WebRequest_Create(...)

 类似这样的问题

解决方案1:可能是BestHTTP插件导致的,打开BestHttp插件目录,找到BestHTTP/Plugins/WebGL目录文件夹下的,BestHTTP_WerRequest.jslib

$wr: {
		requestInstances: {},
		nextRequestId: 1,
		loglevel: 2
	},

部分,更改为如下部分:

$wr: {
		requestInstances: {},
		nextRequestId: 1,
		loglevel: 2,responses:{},timer:{},requests:{},abortControllers:{}
	},

方法1有时候可能解决不了问题,大家如果有更好的方法,请在评论区写出

二、Unable to parse Build/Web.framework.js.gz! This can happen if build compression was enabled but web server hosting the content was misconfigured to not serve the file with HTTP Response Header "Content-Encoding: gzip" present. Check browser Console and Devtools Network tab to debug.

解决方案:

 勾选Decompressiong Fallback

猜你喜欢

转载自blog.csdn.net/leikang111/article/details/131167139