Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by icemacsea · Nov 17, 2011 at 03:05 AM · buildbuild-errorbuildplayer

Look at your ouptut.log file ... what do you see?

Below you will see what I find in my output.log file when I open a brand new unity project, save the scene (with just the camera in it) and do a build and run. Some of the messages claim to be harmless, but surely the one about the 'unity default resources' file being corrupted isn't. This is on a brand-new fresh re-install of Unity. Do you see messages like this in output.log when you start up a built executable?


Direct3D: Version: Direct3D 9.0c [nvd3dum.dll 8.16.11.9107] Renderer: NVIDIA GeForce 8400 GS
Vendor: NVIDIA VRAM: 496 MB (via DXGI) Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 DF24=0 INTZ=1 RAWZ=0 NULL=1 RESZ=0 SlowINTZ=0 desktop: 1280x1024 60Hz; virtual: 1280x1024 at 0,0 Initializing (RawInput).

Input initialized.

Non platform assembly: data-02F8ADA8 (this message is harmless) Mismatched serialization in the builtin class 'Shader'. (Read 2164 bytes but expected 2212 bytes)

(Filename: C:/BuildAgent/work/842f9557127e852/Runtime/Serialize/SerializedFile.cpp Line: 816)

Mismatched serialization in the builtin class 'Shader'. (Read 1960 bytes but expected 1972 bytes)

(Filename: C:/BuildAgent/work/842f9557127e852/Runtime/Serialize/SerializedFile.cpp Line: 816)

The file 'C:/Users/Michael/Documents/New Unity Project 7/tester_Data/Resources/unity default resources' is corrupted! Remove it and launch unity again! [Position out of bounds!]

(Filename: C:/BuildAgent/work/842f9557127e852/Runtime/Serialize/CacheWrap.cpp Line: 263)

The file 'C:/Users/Michael/Documents/New Unity Project 7/tester_Data/Resources/unity default resources' is corrupted! Remove it and launch unity again! [Position out of bounds!]

(Filename: C:/BuildAgent/work/842f9557127e852/Runtime/Serialize/CacheWrap.cpp Line: 269)

The file 'C:/Users/Michael/Documents/New Unity Project 7/tester_Data/Resources/unity default resources' is corrupted! Remove it and launch unity again! [Position out of bounds!]

(Filename: C:/BuildAgent/work/842f9557127e852/Runtime/Serialize/CacheWrap.cpp Line: 263)

The file 'C:/Users/Michael/Documents/New Unity Project 7/tester_Data/Resources/unity default resources' is corrupted! Remove it and launch unity again! [Position out of bounds!]

(Filename: C:/BuildAgent/work/842f9557127e852/Runtime/Serialize/CacheWrap.cpp Line: 269)

Mismatched serialization in the builtin class 'Shader'. (Read 1884 bytes but expected 1896 bytes)

(Filename: C:/BuildAgent/work/842f9557127e852/Runtime/Serialize/SerializedFile.cpp Line: 816)

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image CHPedersen · Nov 17, 2011 at 09:02 AM 0
Share

I'm not seeing any of that. O_O No corruption on my end. Only the Direct3D header, and a few of those non-platform assembly and platform-assembly messages, then a bunch of stuff that got logged from leftover Debug.Log calls that made it into the build. But no corrupted stuff.

avatar image icemacsea · Nov 17, 2011 at 02:06 PM 0
Share

Thanks for posting your results, Christian. I've been developing software long enough not to believe every error message I read, but I was pretty sure this was something abnormal. Now I'm completely sure. What in the world could this be? Something related to Windows, I assume. Is it worth it to try and clear out the registry entries that persist after you uninstall?

avatar image CHPedersen · Nov 17, 2011 at 02:28 PM 0
Share

There is a file called "unity default resources" in the Resources folder in your [Projectname]_Data folder in the build directory. It's that file containing the corruption. I don't know what it's for, but a guess would be some kind of serialized data that the .exe loads at runtime, possibly meshes or textures or something. If Unity's screwing the file up even on empty projects, it suggests a bug in its build routine, I think.

Try cleaning Unity completely out of your system (including leftover registry entries, just to be safe), and then reinstall it. I'm sorry I can't be more help, this one's out of my league. :-/

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Seems to build, shows the following errors 2 Answers

Build failed with errors at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer 0 Answers

Distribute terrain in zones 3 Answers

Build failure: Failed to build apk 0 Answers

UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges