• 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 Awesome123321 · Apr 16, 2019 at 06:30 PM · buildbuild-errorbuild settingsbuild errorbuild and run

Old build present after building to a new folder on desktop.

Hi Fellow Adventurers...

I have completed a game that runs fine with no apparent errors in scenes that I can see and runs in unity great. Now I want to build iteratively test and debug. I think it was working correctly up to a few days ago. I did not that normally I use the ‘build settings’ window however I did at one-point hit ‘build and run’ I am wondering if this is what is causing the issue.

Things I have tried over the past few days without any luck: (Building for PC for 64bit) although have tried the trick of switching architecture to 86 and vice versa to see if it builds correctly (it does force recompilation of scripts however no dice!). 1. Have tried changing build settings to UWP. 2. Have tried restart Unity after clearing Temp file (no luck) 3. Have tried removing the obj folder in project root to get it to build a clean build (didn’t work). 4. Have tried to restart hardward. 5. have also tried moving scripts in folders, at present however most scripts are at root of assets with some in a 'scripts' folder. All moving these did was crash the project when trying to run.

Have also tried deleting the Library and Obj folder in combinations (leading to destruction of the project).

So either; 1. What I have tried is not correctly done. 2. There is an error somewhere that I do not know causing the issue. 3. There is some bug somewhere (which I hope there is a workaround somewhere). Any help or advice or even repeating the things that I have tried previously is worth going over again.

N.B. have noticed that there is an error on one enemy object where the animation will not stop on death by player in the old build, whereas inside unity it is fine. It appears it is sharing another animator and getting confused between the transition bools used in the different prefabs (they are however unique in the prefabs folder). However I think that this is fixable if I can get the build to a later increment.

Again any help is gratefully appreciated.

J

Comment
Add comment · Show 1
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 Awesome123321 · Apr 16, 2019 at 06:46 PM 0
Share

Amendment:

Actually build give old version, build and run gives these errors (although not sure what to do about them if I cant get build to work:

UnityEditor.BuildPlayerWindow+Build$$anonymous$$ethodException: 3 errors at UnityEditor.BuildPlayerWindow+DefaultBuild$$anonymous$$ethods.BuildPlayer (BuildPlayerOptions options) [0x0021f] in C:\buildslave\unity\build\Editor\$$anonymous$$ono\BuildPlayerWindowBuild$$anonymous$$ethods.cs:187 at UnityEditor.BuildPlayerWindow.CallBuild$$anonymous$$ethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\$$anonymous$$ono\BuildPlayerWindowBuild$$anonymous$$ethods.cs:94 UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


Build completed with a result of 'Failed' UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


Error building Player: 2 errors


Controller '$$anonymous$$ushroomPlatform': Transition '' in state 'idle' uses parameter 'collidingWithPlayer' which is not compatible with condition type. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

110 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 avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

[Unity 2017.3.0f3] Cannot open my build it Crashes (with crash Raport) 1 Answer

I cannot get my project to build for PC 1 Answer

LOTS of build errros 0 Answers

Android app bundle(aab) build problem 2 Answers

Unity 2017.1.0f3 personal 64bit Does Not build to android 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges