Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by DataMeshDev · Jan 24, 2019 at 05:16 AM · platformil2cpppublish

[IL2CPP][UWP] Strange Error: "IOException: Win32 IO returned 234"

We met a strange problem, please help us~~ We want to publish our project to UWP platform by IL2CPP. It works fine on some of our computer, but on others, it throws a strange exception, as follow: alt text

Unity version: 2018.3.0~2018.3.1 VS version: 15.9.5 Api Compatibility Level: .Net standard 2.0

This problem will appear even we try a Empty project on some computer, and it will never appear on other computer. We can't find the different between these computers, they have same version of Unity/VS/Windows.

And, if we change the target SDK to lower (i.c. 14393), it will work. but, we must use target higher than 16299, so we can't fix it by this way.

Could anybody help us to fix this problem? Thanks a lot~~~

build-exception.png (25.6 kB)
Comment
Add comment
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

5 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by DataMeshDev · Jan 28, 2019 at 09:14 AM

We update Unity to 2018.3.3, and it works! I think this issue has been fixed in 2018.3.3

Comment
Add comment · Show 2 · Share
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 Ban-jason · Mar 04, 2019 at 08:49 AM 0
Share

I met this problem too. it fixed when i updated unity to 2018.3.3

avatar image Lieene-Guo · Mar 04, 2019 at 09:11 AM 1
Share

Same Error happened in 2018.3.6 empty project. Looks like it's not "all" solved

avatar image
0

Answer by Lieene-Guo · Jan 24, 2019 at 09:20 AM

Same Error. Unity Version 2018.3.2f1 Target: UWP Scripting backend IL2CPP (.Net back end will build the unity report .net backend is deprecated) Looks like part of the SDK file cannot be copied.

Comment
Add comment · Share
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
0

Answer by dyhd · Apr 04, 2019 at 08:38 AM

i meet it too, Win32 IO returned 234. Path: when this error is happened i use File.Delete to delete a file, that file is named too long, and file size is zero, i saw other people meet it and solved this problem, that is Shorten file path so i think some string in the API cannot to long Unity 2018.2.21,

otherwise, i use Unity2018.2.6 is fine, Weird

Comment
Add comment · Share
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
0

Answer by WuHaoDataMesh · May 14, 2019 at 08:10 AM

Finally, we found the solution of this issue. The reason of this error is, the full path of the file in Windows SDK is too too too long... The length of the path in default install folder is 231 characters. System.IO.File.Copy can't handle this.

To fix it, you can install windows SDK in a shorter folder, like "C:\Z\", to reduce the length of file path. but, unfortunately, you can't change this install path when you have installed any windows SDK. so, you must do as follow:

  1. Uninstall Visual Studio and all windows SDK.

  2. Install windows SDK FIRST, and you can select a short root path. ( Important! if you install VS first, it will install a set of windows SDK to default folder and you can't change it!)

  3. Install Visual Studio

And then, you can publish UWP project again! Hooooooray~~~

Comment
Add comment · Share
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
0

Answer by Jerry_Bao · Nov 21, 2019 at 10:41 PM

Maybe you can try to delete this file "C:\Program Files (x86)\Windows Kits\10\References\10.0.18362.0\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract\ 2.0.0.0\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract.winmd" And try to build again

Comment
Add comment · Share
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

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

104 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Publish Error 2 Answers

Rigidbody on a platform 2 Answers

Moving Platform Troubles 0 Answers

Multiplayer - Other players shaking back and fourth on moving platform 2 Answers

How do I create a place for my characters to stand? 1 Answer


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