Unit reports an error when loading an old version of the project: unit reports an error assets \ standard assets \ utility \ forcedreset. CS (6,27): error cs0619: ‘guitexture’ is obsolete:
The solution is as follows:
1、 Forcedreset.cs
1. Add the namespace
using unityengine.ui;
2. The guitexture in [requirecomponent (typeof (guitexture))] is changed to image, and the result is: [requirecomponent (typeof (image))]
2、 Simpleactivatormenu.cs
1. Add the namespace
using unityengine.ui;
2. Change guitext in public guitext camswitchbutton to text, and the result is:
public text camswitchbutton;
Read More:
- Unity report error CS0619: ‘XRDevice.isPresent’ is obsolete
- Unity2019.1.02f error cs0104: ‘minattribute’ is an ambiguous reference between
- [Fixed] Unity error CS1704: An assembly with the same name `UnityEngine.UI’ has already been imported
- The mapboxsdk imports the higher version unity2020 and 2021 and reports an error arbackgroundrenderer
- Android studio reports an error when building AAR for unity
- Asset database transaction committed tweet appears when unity reports an error!
- The build report plug-in reported an error in importing unit script (BRT_ Util.cs :error CS1525: Unexpected symbol `;’, expecting `)’, or `,’)
- Unity development memo 000025: error cs0433: the type ‘task’ exists in both ‘xxx’ and ‘YYY’
- Unity WebGL error CS0117: ‘NetworkTransport’ does not contain a definition for ‘SetMulticastLock’
- Error cs1010 cs8025 cs1012 cs1525 common document error resolution
- Unity3D error CS0227: Unsafe code may only appear if compiling with /unsafe…
- After unity connects with androidstudio, unity packages APK with an error: commandinvocationfailure: failed to re package resources
- [OpenGL · error] visual studio 2019 reports an error. It is an external symbol gladloadglloader that cannot be parsed. This symbol is referenced in the function main
- The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error
- Hadoop reports an error. Cannot access scala.serializable and python MapReduce reports an error
- Notes on unity project_ Unity webplayer failed to update unity web player
- When a system is deployed on weblogic12.2.1.3, it reports an error “IllegalStateException zip file closed”. When it is deployed on weblogic12.2.1.2, it does not report an error and can be accessed normally.
- HTML method IE8 reports an error, IE8 jQuery Ajax obtains static resources reports an error, typeerror denies access
- Lamdba in the studio part reports an error. Observe lamdba reports an error but can run
- Python3 reports an error [errno 5] input / output error. Print is used when there is no stdout