最近在研究unity,但是百度搜出来的内容匹配度很低,外网看着又吃力。所以想着记录一下好不容易解决的一些问题。
打包WebGL的时候报错文章来源:https://www.toymoban.com/news/detail-522519.html
Error: IL2CPP error for type 'System.Net.WebHeaderCollection/RfcChar' in assembly 'E:\unity_project\My project\Library\Bee\artifacts\WebGL\ManagedStripped\System.dll'
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in <b3a5b37cb0fa42cdbcacb0cad70dfd0c>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <b3a5b37cb0fa42cdbcacb0cad70dfd0c>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
搜了半天发现和 文章来源地址https://www.toymoban.com/news/detail-522519.html
到了这里,关于Unity报错和解决记录的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!