Unity3D/Trouble Shooting

[펌] Invalid Asset Bundle and downloading failed (connection refused)

blueasa 2017. 4. 13. 16:19

Unity Technologies의 Unity AssetBundleDemo(https://bitbucket.org/Unity-Technologies/assetbundledemo)를 테스트 하는 중에 Local Server가 제대로 작동하지 않아서 찾다 보니 아래와 같은 방법으로 해결해서 적어 둠.



On Windows 10, I've fixed this issue by making this change in LaunchAssetBundleServer.cs:

  1. //...
  2. ProcessStartInfo startInfo = new ProcessStartInfo( pathToAssetServer ); //ExecuteInternalMono.GetProfileStartInfoForMono(MonoInstallationFinder.GetMonoInstallation("MonoBleedingEdge"), GetMonoProfileVersion(), pathToAssetServer, args, true);
  3. startInfo.WorkingDirectory = assetBundlesDirectory;
  4. startInfo.Arguments = args;
  5. startInfo.UseShellExecute = true;
  6. startInfo.Verb = "runas";
  7. Process launchProcess = Process.Start(startInfo);
  8. //...



[출처] http://answers.unity3d.com/questions/1282205/invalid-asset-bundle-and-downloading-failed-connec.html

반응형