needle-tools / needle-engine-support

Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development, and can be deployed anywhere. It is flexible, extensible and includes networking and XR - across platforms. Documentation at https://docs.needle.tools
549 stars 46 forks source link

Editor Sync only partially working in 2022.3 #171

Closed krisrok closed 1 month ago

krisrok commented 1 year ago

Describe the bug šŸ’¬

Object transform modifications in the scene view are not synced.

Operating System šŸ‘©ā€šŸ’»

Windows

What browsers are you seeing the problem on? šŸ„ā€ā™‚ļø

Firefox, Chrome

Editor Version šŸŽ²

2022.x

Needle Exporter version

3.11.1-pre

Project Info (Unity only) šŸ“œ

{
  "ExportInfoGameObjectName": "Export",
  "ExportInfoGameObjectIsEnabled": true,
  "UnityProjectPath": "/Assets",
  "UnityVersion": "2022.3.2f1",
  "SceneName": "Scene1",
  "ProjectPath": "Needle/Scene1",
  "ProjectDirectoryExists": true,
  "ProjectIsInstalled": true,
  "NeedleEngineInstalled": true,
  "HasNodeInstalled": true,
  "NodeVersion": "v18.16.0",
  "NpmVersion": "9.5.1",
  "TypescriptVersion": "'\u0000t\u0000s\u0000c\u0000'\u0000 \u0000i\u0000s\u0000 \u0000n\u0000o\u0000t\u0000 \u0000r\u0000e\u0000c\u0000o\u0000g\u0000n\u0000i\u0000z\u0000e\u0000d\u0000 \u0000a\u0000s\u0000 \u0000a\u0000n\u0000 \u0000i\u0000n\u0000t\u0000e\u0000r\u0000n\u0000a\u0000l\u0000 \u0000o\u0000r\u0000 \u0000e\u0000x\u0000t\u0000e\u0000r\u0000n\u0000a\u0000l\u0000 \u0000c\u0000o\u0000m\u0000m\u0000a\u0000n\u0000d\u0000,\u0000; \u0000; \u0000o\u0000p\u0000e\u0000r\u0000a\u0000b\u0000l\u0000e\u0000 \u0000p\u0000r\u0000o\u0000g\u0000r\u0000a\u0000m\u0000 \u0000o\u0000r\u0000 \u0000b\u0000a\u0000t\u0000c\u0000h\u0000 \u0000f\u0000i\u0000l\u0000e\u0000.\u0000; \u0000; \u0000",
  "HasTokTxInstalled": true,
  "HasMinimumToktxVersionInstalled": true,
  "RenderPipeline": "URP-HighFidelity (UnityEngine.Rendering.Universal.UniversalRenderPipelineAsset)",
  "GzipEnabled": false,
  "NeedleEngineExporterVersion": "3.11.1-pre",
  "NeedleEngineVersion": "3.11.1-beta",
  "NeedleEngineExporterPath": "Packages/com.needle.engine-exporter/package.json",
  "NeedleEnginePath": "../Needle/Scene1/node_modules/@needle-tools/engine/package.json",
  "FileStats": "By Type:\r\nā€¢\t.glb ā†’  x 1 = 5.5 mb\r\nā€¢\t<b>Total = 5.5 mb</b>\r\n----\r\nBy Directory:\r\nā€¢\tassets ā†’  x 1 = 5.5 mb\r\n",
  "NeedleComponentsInScene": [
    "Needle.Engine.ExportInfo",
    "Needle.Engine.Codegen.ComponentGenerator",
    "Needle.Engine.Deployment.DeployToGlitch",
    "Needle.Engine.EditorSync.NeedleEditorSync",
    "Needle.Engine.Components.GltfObject",
    "Needle.Engine.Components.ObjectRaycaster",
    "Needle.Engine.Components.WebARSessionRoot",
    "Needle.Engine.Components.WebXR",
    "Needle.Engine.Components.OrbitControls",
    "Needle.Engine.Components.GridHelper",
    "Needle.Engine.Components.AxesHelper"
  ],
  "TypeCacheIsDirty": false,
  "TypeScriptTypes": []
}

Steps to reproduce šŸ”¢

1. Use e.g. Minimal template
1. Add Editor Sync and let it set up
1. Use scene camera sync to make sure it works
1. Add a cube, save, it pops up in the browser
1. Move the cube and nothing happens :(

Reproduction ā™»

No response

Discord or Discussion link

https://discord.com/channels/717429793926283276/1118464770849374229

Validations šŸ©¹

marwie commented 1 year ago

Hi, thanks for reporting. Can you upload your project with the bug reporter? Thanks!

krisrok commented 1 year ago

Hey, it should be easily reproducible with the steps, using the Minimal template and Unity 2022.3.x.