Hi,
I’m trying to build my game for Windows phone 8.1, but whenever I push “Build and Run” within Unity, it starts the building process, but exits with the following error:
Package.appxmanifest(20,80): error APPX0703: Manifest references file 'Assets\piggy tile 310x150.jpg' which is not part of the payload.
I checked and in the Asset folder there isn’t a file with that name. In the Unity Editor I setted all the icons and tiles required. Here it is the complete error:
Exception: Failed to build Visual Studio project using arguments 'C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe "C:\Users\Marco\Documents\Projects\piggy-bang\Builds\WindowsStore-Builds\Piggy Bang.sln" /nologo /maxcpucount /p:Configuration=Master /p:Platform=ARM /p:SolutionDir="C:\\Users\\Marco\\Documents\\Projects\\piggy-bang\\Builds\\WindowsStore-Builds\\" /t:Build /clp:Verbosity=minimal'.
Output: UnityInstallationDir "C:\Program Files\Unity\Editor".
UnityWSAPlayerDir "C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport".
UnityProjectDir "C:\Users\Marco\Documents\Projects\piggy-bang".
Copying unprocessed assemblies...
Running AssemblyConverter...
AssemblyConverter done.
Piggy Bang -> C:\Users\Marco\Documents\Projects\piggy-bang\Builds\WindowsStore-Builds\Piggy Bang\bin\ARM\Master\Piggy Bang.exe
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(2368,5): warning : APPX4001: Build property AppxBundlePlatforms is not explicitly set and is calculated based on currently building architecture. Use 'Create App Package' wizard or edit project file to set it. [C:\Users\Marco\Documents\Projects\piggy-bang\Builds\WindowsStore-Builds\Piggy Bang\Piggy Bang.csproj]
Package.appxmanifest(20,80): error APPX0703: Manifest references file 'Assets\piggy tile 310x150.jpg' which is not part of the payload. [C:\Users\Marco\Documents\Projects\piggy-bang\Builds\WindowsStore-Builds\Piggy Bang\Piggy Bang.csproj]
ApplicationLauncherImpl.RunMSBuild (System.String args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:294)
ApplicationLauncherImpl.Build () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:179)
ApplicationLauncher.BuildAndRun (BuildLaunchPlayerArgs args, WSASDK wsaSDK) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:56)
ApplicationLauncher.BuildAndRun (BuildLaunchPlayerArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:46)
UnityEditor.Metro.BuildPostprocessor.LaunchPlayer (BuildLaunchPlayerArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:95)
UnityEditor.PostprocessBuildPlayer.Launch (BuildTarget target, System.String path, System.String productName, BuildOptions options) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:282)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
(It gives a second error too, but it’s the same as the first, with a different asset name)
How can I solve this error?
Thank you in advance.
That's a block of code for ease of access (so I can keep track of what I wrote), it's actually in the same namespace as the other codes. So those brackets are actually not doing anything (other than notation), and it does actually work, the code does the work and it sets the conTemp into the connections but my problem is, it doesn't just set it on one object, it just sets it on every object in the scene that I have set the connections beforehand (if I set the connections on one properties script then go on to the next one to set it, the previous one also gets set the same values).
– CrazyIvanTR