[Unity] Record a pit... Ab package display exception

When we develop in editor mode, if we use the local ab package to load resources.

There may be a phenomenon where the screen is full of pink and various reality anomalies occur.

If it is checked that the ab package reference is not missing,

That's why. . .

When building ab packages, you need to set the platform to PC, no matter what platform is selected in BuildSettings:

The editor mode rendering resources under PC are all in PC mode, so loading the ab package for Android or iOS will display an exception. . .

Record it. .

Guess you like

Origin blog.csdn.net/qq302756113/article/details/116164929