The Unity project white issues on the device scene, and the unity scenario

Source: Internet
Author: User

The Unity project white issues on the device scene, and the unity scenario
0x00: Preface

I haven't updated my blog for a few months. In fact, evernote has a lot of notes. I just want to organize these content into a series and send them together, during the past one and a half years, we have been working on the Unity project and accumulated a lot of experience. After the busiest time of the project, the project will be established until it is launched, organize these miscellaneous tasks into a series.

0x01: Symptom

Normal display of running scenarios in Unity editor
Package Android and Ios app white (bright white), with low music

0x02: Cause of speculation

Quality setting error
Scene parameter error (fog, render setting, light map)
Compilation error (the asset bundle parameter in the compilation scenario is incorrect)
Light map creation error
Google search, probably because d11 rendering parameters are enabled when a light map is created

0x03: exclude interference items

No problem with quality settings
Scene Parameter not modified (svn log)
Re-compile the project to eliminate compilation errors
Light map log display is not modified
The d11 parameter is not enabled.

0x04: start again

Enable related scenarios and set light map
Setting the fog parameter does not affect the scenario color.
Set the light map parameter. When the light map parameter is set to texture, the light map is displayed in white (bright white)

0x05: Conclusion

The light map file format is incorrect.
The loading method is correct.
Only Source problems exist.
However, the source has not been modified (only the location is modified), but it is possible before the location is modified.
The only modification in the past two days is the resource compilation process,
Switch platform-> build asset-> build project-> build app
Switch platform-> move resources-> build asset-> build project-> build app

The problem is found. Every time the resource changes, unity needs to re-build the resource. I modify the new compilation mode, and some resources are not rebuilt, some information may be lost after these resources are moved, or an error occurs in the information index, resulting in incorrect display and re-modification.
The compilation process is as follows:
Move resources-> switch platform-> build asset-> build project-> build app

Package verification and solve the problem.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.