1、
Tried to get mapping information from scalar node
UnityEngine.Renderer:get_sharedMaterials()
FairyGUI.GoWrapper:CacheRenderers()
FairyGUI.GoWrapper:SetWrapTarget(GameObject, Boolean)
UIBase:setMode(GObject, GameObject, GoWrapper, Boolean, Int32)
UIBase:add3DModel(GObject, GameObject, Boolean, Int32)
UIBase:initEffect()
UIBase:initUI(Int32, UserProfiler, Object[ ])
UIManager:setUI(UIBase, Int32, Object[ ])
UIManager:initUI(Int32, Object[ ])
UIHandler:openUI(Int32, Action1, Object[ ]) CityLoader:finished(Object[ ]) 2、 **Assertion failed on expression: 'IsMapping()'** UnityEngine.Renderer:get_sharedMaterials() FairyGUI.GoWrapper:CacheRenderers() FairyGUI.GoWrapper:SetWrapTarget(GameObject, Boolean) UIBase:setMode(GObject, GameObject, GoWrapper, Boolean, Int32) UIBase:add3DModel(GObject, GameObject, Boolean, Int32) UIBase:initEffect() UIBase:initUI(Int32, UserProfiler, Object[ ]) UIManager:setUI(UIBase, Int32, Object[ ]) UIManager:initUI(Int32, Object[ ]) UIHandler:openUI(Int32, Action
1, Object[ ])
CityLoader:finished(Object[ ])
it`s harmless but realy impact working.Is there any ways to workround?
Greetings from the future! Do you still get this error? How did you solve it?
Has anybody figured out a reasoning for this? Still happening, even after updating to latest stable version.
EDIT:
For those looking, I believe I have fixed it myself. My package.json and manifest became corrupt with me using a more updated version of a package, in this case it was ‘backtrace-unity’. Reverted that change through an old commit I did and it worked properly.
2 Likes
IncrediblyWalrus:
Has anybody figured out a reasoning for this? Still happening, even after updating to latest stable version.
EDIT:
For those looking, I believe I have fixed it myself. My package.json and manifest became corrupt with me using a more updated version of a package, in this case it was ‘backtrace-unity’. Reverted that change through an old commit I did and it worked properly.
Same issue after reverting backtrace back to 3.8.7 issues gone. Thank you.
RubDev_RG:
3.8.7
Yeah this explains well. It happened after I installed backtrace
I got this error too.
The culprit is a strangely malformed .meta file. If you can’t revert to a previous revision, to fix it, just embed the package in your project (move its folder from Library/PackageCache to Packages) and delete Android/BacktraceCrashHandler.java.meta
Here is a git diff of before/after unity recreates this .meta:
diff --git a/Packages/io.backtrace.unity@3.9.1/Android/BacktraceCrashHandler.java.meta b/Packages/io.backtrace.unity@3.9.1/Android/BacktraceCrashHandler.java.meta
index 77ef81af40..cf43203aa6 100644
--- a/Packages/io.backtrace.unity@3.9.1/Android/BacktraceCrashHandler.java.meta
+++ b/Packages/io.backtrace.unity@3.9.1/Android/BacktraceCrashHandler.java.meta
@@ -7,7 +7,7 @@ PluginImporter:
executionOrder: {}
defineConstraints: []
isPreloaded: 0
- isOverridable: 0
+ isOverridable: 1
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
@@ -22,7 +22,7 @@ PluginImporter:
enabled: 0
settings: {}
- first:
-
+ Editor: Editor
second:
enabled: 0
settings:
joe_nk
September 3, 2024, 9:38pm
7
I’ve submitted a fix for this, so hopefully it will be resolved in the next release
1 Like