Search Unity

2019.2 and 0.16.1 not working

Discussion in 'Project Tiny' started by vincismurf, Jul 30, 2019.

  1. vincismurf

    vincismurf

    Joined:
    Feb 28, 2013
    Posts:
    172
    Well I have not been able to get the C# version running reguardless of the version. Today I used the 2019.2 release and I still get this error

    Code (CSharp):
    1. Build failed. Open D:\YOU\TinyTest\Library\DotsRuntimeBuild\build.log for more details.
    2. error: Error reading JObject from JsonReader. Path '', line 1, position 390. (Newtonsoft.Json.JsonReaderException)
    3.   at Newtonsoft.Json.Linq.JObject.Load
    4.   at Newtonsoft.Json.Linq.JObject.Parse
    5.   at Bee.Stevedore.Program.FileList.ParseFromString
    6.   at Bee.Stevedore.Program.FileList.ParseFromString
    7.   at Bee.Stevedore.StevedoreArtifact.GetFileList
    8.   at EditorToolsBuildProgram.SetupGetEditorToolsFromStevedore in D:/YOU/TinyTest/Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsPlayer/bee~/BuildProgramSources/EditorToolsBuildProgram.cs(144)
    9.   at BuildProgram.Main in D:/YOU/TinyTest/Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsPlayer/bee~/BuildProgramSources/BuildProgram.bee.cs(167)
    10. [E] DAG generator driver failed: "D:\YOU\TinyTest\Library\PackageCache\com.unity.tiny@0.16.1-preview\DotsPlayer\bee~\bee.exe" build --beemode=ToCreateBuildGraph --commandlinerequest=get-editor-tools --commandlinerequest=spawnanddestroy-windows-dotnet-develop --root-artifacts-path=artifacts --bee-driver-buildprogramroot=.
    11. *** Tundra build failed to setup error (4.89 seconds), 0 items updated
    12.  
    13. UnityEngine.Debug:LogError(Object)
    14. Unity.Debug:LogError(Object) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/Stubs/Unity/Debug.cs:10)
    15. Unity.Editor.Build.BuildStepRunBee:Run(BuildContext) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor.Build/BuildStepRunBee.cs:83)
    16. Unity.Editor.Build.BuildPipeline:RunBuildSteps(IReadOnlyList`1, BuildContext) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor.Build/BuildPipeline.cs:137)
    17. Unity.Editor.Build.BuildPipeline:Build(BuildSettings) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor.Build/BuildPipeline.cs:110)
    18. Unity.Editor.Application:Build() (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor/Application.cs:133)
    19. Unity.Editor.Application:BuildAndRun() (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor/Application.cs:144)
    20. Unity.Editor.Modes.PlayBar:PlayCommandHandler(CommandExecuteContext) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor.Modes/PlayBar.cs:15)
    21. UnityEditor.CommandService:Execute(String)
    22. Unity.Editor.Modes.PlayBar:DrawPlayBar(CommandExecuteContext) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor.Modes/PlayBar.cs:80)
    23. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    24.  

    This is not the first time it has happened and others have this problem but I have not seen the developers address this problem.

    Some other issue I noticed.
    Asset->Load DOT C# project . . . brings up a loading bar but never loads a project

    When I select some example projects it thinks the sample has already been downloaded when it has not.

    If I double click on a sample like HelloWorld.csproj the files are set to read only so one cannot modify the source.

    Using Attach to Unity and Play in HelloWorld.csproj causes these errors

    Code (CSharp):
    1. UnauthorizedAccessException: Access to the path "D:\YOU\TinyTest\Assets\Samples\Project Tiny\0.16.1-preview\HelloWorld\HelloWorld.project" is denied.
    2. System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <a8ed250850854b439cedc18931a314fe>:0)
    3. System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) (at <a8ed250850854b439cedc18931a314fe>:0)
    4. (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
    5. System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) (at <a8ed250850854b439cedc18931a314fe>:0)
    6. System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) (at <a8ed250850854b439cedc18931a314fe>:0)
    7. System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) (at <a8ed250850854b439cedc18931a314fe>:0)
    8. System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding) (at <a8ed250850854b439cedc18931a314fe>:0)
    9. (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool,System.Text.Encoding)
    10. System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) (at <a8ed250850854b439cedc18931a314fe>:0)
    11. System.IO.File.WriteAllText (System.String path, System.String contents) (at <a8ed250850854b439cedc18931a314fe>:0)
    12. Unity.Editor.Extensions.FileInfoExtensions.WriteAllText (System.IO.FileInfo fileInfo, System.String content) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor.Extensions/FileInfoExtensions.cs:96)
    13. Unity.Editor.Project.Persist (System.IO.FileInfo file, Unity.Editor.Project project) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor/Project.cs:354)
    14. Unity.Editor.Project.SaveAs (System.IO.FileInfo projectFile) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor/Project.cs:322)
    15. Unity.Editor.Project.Save () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor/Project.cs:305)
    16. Unity.Editor.Application.HandleDomainWillUnload () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor/Application.cs:76)
    17. UnityEditor.AssemblyReloadEvents.OnBeforeAssemblyReload () (at C:/buildslave/unity/build/Editor/Mono/AssemblyReloadEvents.cs:15)
    18.  
    AND
    Code (CSharp):
    1. A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details.
    2.  
    AND

    Code (CSharp):
    1. DllNotFoundException: lib_unity_entities_cplusplus
    2. Unity.Entities.EntityManagerDelegates.Initialize () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsModules/Unity.Entities.CPlusPlus/CPlusPlus.cs:156)
    3. Unity.Entities.CPlusPlus.WrapEntityManager (Unity.Entities.EntityManager em) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsModules/Unity.Entities.CPlusPlus/CPlusPlus.cs:164)
    4. Unity.Tiny.Core2D.GenericAssetLoader`4[T,TN,TS,L].OnCreate () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsModules/Unity.Tiny.Core2D/GenericAssetLoader.cs:43)
    5. Unity.Tiny.TextNative.FontSTBLoadSystem.OnCreate () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsModules/Unity.Tiny.TextNative/TextNativeFontNative.cs:293)
    6. Unity.Entities.ComponentSystemBase.CreateInstance (Unity.Entities.World world) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystem.cs:201)
    7. Unity.Entities.World.AddSystem[T] (T system) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:341)
    8. Unity.Entities.World.CreateSystemInternal (System.Type type, System.Object[] constructorArguments) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:235)
    9. Unity.Entities.World.GetOrCreateSystemInternal (System.Type type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:251)
    10. Unity.Entities.World.GetOrCreateSystem (System.Type type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:279)
    11. Unity.Entities.DefaultWorldInitialization.GetOrCreateManagerAndLogException (Unity.Entities.World world, System.Type type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:38)
    12. UnityEngine.Debug:LogException(Exception)
    13. Unity.Debug:LogException(Exception) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/Stubs/Unity/Debug.cs:25)
    14. Unity.Entities.DefaultWorldInitialization:GetOrCreateManagerAndLogException(World, Type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:42)
    15. Unity.Entities.DefaultWorldInitialization:Initialize(String, Boolean) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:115)
    16. Unity.Entities.AutomaticWorldBootstrap:Initialize() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/AutomaticWorldBootstrap.cs:11)
    17.  
    AND

    Code (CSharp):
    1. DllNotFoundException: lib_unity_tiny_hitbox2d
    2. Unity.Tiny.HitBox2D.HitBox2DSystem.OnCreate () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsModules/Unity.Tiny.HitBox2D/HitBox2D.cs:184)
    3. Unity.Entities.ComponentSystemBase.CreateInstance (Unity.Entities.World world) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystem.cs:201)
    4. Unity.Entities.World.AddSystem[T] (T system) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:341)
    5. Unity.Entities.World.CreateSystemInternal (System.Type type, System.Object[] constructorArguments) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:235)
    6. Unity.Entities.World.GetOrCreateSystemInternal (System.Type type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:251)
    7. Unity.Entities.World.GetOrCreateSystem (System.Type type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:279)
    8. Unity.Entities.DefaultWorldInitialization.GetOrCreateManagerAndLogException (Unity.Entities.World world, System.Type type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:38)
    9. UnityEngine.Debug:LogException(Exception)
    10. Unity.Debug:LogException(Exception) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/Stubs/Unity/Debug.cs:25)
    11. Unity.Entities.DefaultWorldInitialization:GetOrCreateManagerAndLogException(World, Type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:42)
    12. Unity.Entities.DefaultWorldInitialization:Initialize(String, Boolean) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:115)
    13. Unity.Entities.AutomaticWorldBootstrap:Initialize() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/AutomaticWorldBootstrap.cs:11)
    14.  
    AND
    Code (CSharp):
    1. DllNotFoundException: lib_unity_tiny_audionative
    2. Unity.Tiny.Audio.AudioNativeSystem.InitAudioSystem () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsModules/Unity.Tiny.AudioNative/AudioNative.cs:149)
    3. Unity.Tiny.Audio.AudioSystem.OnCreate () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsModules/Unity.Tiny.Audio/Audio.cs:97)
    4. Unity.Entities.ComponentSystemBase.CreateInstance (Unity.Entities.World world) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystem.cs:201)
    5. Unity.Entities.World.AddSystem[T] (T system) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:341)
    6. Unity.Entities.World.CreateSystemInternal (System.Type type, System.Object[] constructorArguments) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:235)
    7. Unity.Entities.World.GetOrCreateSystemInternal (System.Type type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:251)
    8. Unity.Entities.World.GetOrCreateSystem (System.Type type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/World.cs:279)
    9. Unity.Entities.DefaultWorldInitialization.GetOrCreateManagerAndLogException (Unity.Entities.World world, System.Type type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:38)
    10. UnityEngine.Debug:LogException(Exception)
    11. Unity.Debug:LogException(Exception) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/Stubs/Unity/Debug.cs:25)
    12. Unity.Entities.DefaultWorldInitialization:GetOrCreateManagerAndLogException(World, Type) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:42)
    13. Unity.Entities.DefaultWorldInitialization:Initialize(String, Boolean) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:115)
    14. Unity.Entities.AutomaticWorldBootstrap:Initialize() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/AutomaticWorldBootstrap.cs:11)
    15.  
    AND
    Code (CSharp):
    1. Ignoring invalid [UpdateBefore] attribute on Unity.Tiny.Audio.AudioIONativeSystem because Unity.Tiny.Audio.AudioNativeSystem belongs to a different ComponentSystemGroup.
    2. This attribute can only order systems that are children of the same ComponentSystemGroup.
    3. Make sure that both systems are in the same parent group with [UpdateInGroup(typeof(Unity.Entities.PresentationSystemGroup)].
    4. You can also change the relative order of groups when appropriate, by using [UpdateBefore] and [UpdateAfter] attributes at the group level.
    5. UnityEngine.Debug:LogWarning(Object)
    6. Unity.Debug:LogWarning(String) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/Stubs/Unity/Debug.cs:15)
    7. Unity.Entities.ComponentSystemGroup:SortSystemUpdateList() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystemGroup.cs:293)
    8. Unity.Entities.PresentationSystemGroup:SortSystemUpdateList() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/DefaultWorld.cs:146)
    9. Unity.Entities.DefaultWorldInitialization:Initialize(String, Boolean) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/DefaultWorldInitialization.cs:123)
    10. Unity.Entities.AutomaticWorldBootstrap:Initialize() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities.Hybrid/Injection/AutomaticWorldBootstrap.cs:11)
    11.  
    AND

    Code (CSharp):
    1. DllNotFoundException: lib_unity_tiny_glfw
    2. Unity.Tiny.GLFW.GLFWWindowSystem.OnStartRunning () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsModules/Unity.Tiny.GLFW/GLFW.cs:71)
    3. Unity.Entities.ComponentSystem.InternalUpdate () (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystem.cs:806)
    4. Unity.Entities.ComponentSystemBase.Update () (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystem.cs:287)
    5. Unity.Entities.ComponentSystemGroup.OnUpdate () (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystemGroup.cs:451)
    6. UnityEngine.Debug:LogException(Exception)
    7. Unity.Debug:LogException(Exception) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/Stubs/Unity/Debug.cs:25)
    8. Unity.Entities.ComponentSystemGroup:OnUpdate() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystemGroup.cs:455)
    9. Unity.Entities.ComponentSystem:InternalUpdate() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystem.cs:818)
    10. Unity.Entities.ComponentSystemBase:Update() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ComponentSystem.cs:287)
    11. Unity.Entities.DummyDelegateWrapper:TriggerUpdate() (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/ScriptBehaviourUpdateOrder.cs:135)
    12.  
    When I stop I get this spam in the console log

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. Unity.Authoring.ChangeTracking.ChangeManager.Update () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Authoring/Unity.Authoring.ChangeTracking/ChangeManager.cs:124)
    3. Unity.Authoring.SessionRunner.Update (Unity.Authoring.Session session) (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Authoring/Unity.Authoring/SessionRunner.cs:12)
    4. Unity.Editor.Application.HandleUpdate () (at Library/PackageCache/com.unity.tiny@0.16.1-preview/Unity.Editor/Unity.Editor/Application.cs:84)
    5. UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:303)
    6.  
    I hope this helps.

    I REALLY wanna try this out
     
  2. Noa3

    Noa3

    Joined:
    May 29, 2012
    Posts:
    70
    i did load Project Tiny too, laoded the HelloWorld sample, opened the Scene and try to run it.
    then i get this error:


    Code (CSharp):
    1. [ 7/13  0s] CSProject D:/Arbeit/ProjectTinyTest/Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsPlayer/bee~/BuildProgramBuildProgramSources/buildprogrambuildprogram.gen.csproj
    2. error: Die Sequenz enth�lt kein �bereinstimmendes Element. (System.InvalidOperationException)
    3.   at System.Linq.Enumerable.First
    4.   at DotsConfigs+<>c.<.cctor>b__13_1 in D:/Arbeit/ProjectTinyTest/Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsPlayer/bee~/BuildProgramSources/DotsConfigs.cs(49)
    5.   at System.Lazy`1[T].CreateValue
    6.   at System.Lazy`1[T].LazyInitValue
    7.   at Il2Cpp+<>c.<.cctor>b__35_1 in D:/Arbeit/ProjectTinyTest/Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsPlayer/bee~/BuildProgramSources/Il2Cpp.bee.cs(70)
    8.   at System.Lazy`1[T].CreateValue
    9.   at System.Lazy`1[T].LazyInitValue
    10.   at DotsRuntimeCSharpProgram.Construct in D:/Arbeit/ProjectTinyTest/Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsPlayer/bee~/BuildProgramSources/DotsRuntimeCSharpProgram.cs(67)
    11.   at DotsRuntimeCSharpProgram..ctor in D:/Arbeit/ProjectTinyTest/Library/PackageCache/com.unity.tiny@0.16.1-preview/DotsPlayer/bee~/BuildProgramSources/DotsRuntimeCSharpProgram.cs(56)
    12.   at BuildProgram.Main
    13.   at System.RuntimeMethodHandle.InvokeMethod
    14.   at Bee.StandaloneBeeDriver+<>c.<CreateBuildGraph>b__42_0
    15.   at Bee.StandaloneBeeDriver.RunBuildProgramInBeeEnvironment
    16.   at Bee.StandaloneBeeDriver.CreateBuildGraph
    17.   at Bee.StandaloneBeeDriver.BuildMain
    18.   at Bee.StandaloneBeeDriver.Main
    19. [E] DAG generator driver failed: "D:\Arbeit\ProjectTinyTest\Library\PackageCache\com.unity.tiny@0.16.1-preview\DotsPlayer\bee~\bee.exe" build --beemode=ToCreateBuildGraph --commandlinerequest=get-editor-tools --commandlinerequest=helloworld-windows-dotnet-develop --root-artifacts-path=artifacts --bee-driver-buildprogramroot=.
    20. *** Tundra build failed to setup error (0.85 seconds), 0 items updated
    21.  
     
  3. MaDDoX

    MaDDoX

    Joined:
    Nov 10, 2009
    Posts:
    754
    Stick to 2019.2 beta 3. Anything else (earlier or later) breaks in different parts and ways.
     
    Silenus3 likes this.