city-super / MatrixCity

Apache License 2.0
217 stars 9 forks source link

Some problems related to the MatrixCityPlugin #15

Closed SehunKing closed 10 months ago

SehunKing commented 10 months ago

阅读论文后感觉MatrixCity是个非常值得一试的插件,但我在使用过程中发现了一些bug和问题,在我的两台电脑上都能稳定复现:

  1. pipeline中的渲染部分代码被注释,为什么?
  2. utils_sequencer main()函数中的level变量,其中Maps在实际project目录中为Map
  3. 添加MatrixCity插件后,project第一次启动会编译7k多个着色器,进入project后纹理无法正常显示,提示正在准备2w多个着色器,且在城市示例中的速度无法接受
  4. 新建简单project做测试,修复1和2两个问题,并等待着色器编译结束后可以正常渲染得到一些图像,但在城市示例中运行run_cmd_async会不断跳弹窗提示sequnces已存在,无法正常渲染
yzslab commented 10 months ago

Hi, did you render images successfully? I uncommented the codes of render sequence, but got below error messages:

[2024.01.01-23.08.12:931][  1]Cmd: py C:\Users\User\src\MatrixCity\MatrixCityPlugin\Content\Python\pipeline.py
[2024.01.01-23.08.13:192][  1]LogPython: Warning: ticking.
[2024.01.01-23.08.13:192][  1]LogPython: Warning: still loading...
[2024.01.01-23.08.13:194][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.08.13:199][  1]LogActorFactory: Actor Factory attempting to spawn Class /Script/CinematicCamera.CineCameraActor
[2024.01.01-23.08.13:200][  1]LogActorFactory: Actor Factory spawned Class /Script/CinematicCamera.CineCameraActor as actor: CineCameraActor /Game/Map/Startup/Startup.Startup:PersistentLevel.CineCameraActor_1
[2024.01.01-23.08.13:216][  1]LogEditorScripting: Error: The AssetRegistry is currently loading.
[2024.01.01-23.08.13:216][  1]LogPython: [*] Created Sequence: /Game/Sequences/aerial_train
[2024.01.01-23.08.13:224][  1]LogPython: Queue cleared.
[2024.01.01-23.08.13:225][  1]LogEditorScripting: Error: The AssetRegistry is currently loading.
[2024.01.01-23.08.13:243][  1]LogMaterial: Display: Missing cached shadermap for PPM_DepthMap_Parent in PCD3D_SM5, Default, SM5 (DDC key hash: 6E6E7C4C5E33FF407792CDAD53FE7AD4881D82DC), compiling. 
[2024.01.01-23.08.13:270][  1]LogMaterial: Display: Missing cached shadermap for MovieRenderQueue_WorldNormal in PCD3D_SM5, Default, SM5 (DDC key hash: 14E7105BB8D6186A00A5EFACC2C9A439EEEF14CB), compiling. 
[2024.01.01-23.08.13:298][  1]LogMaterial: Display: Missing cached shadermap for PPM_diffusecolor in PCD3D_SM5, Default, SM5 (DDC key hash: 19FA60A419502FFD87A1FF5C8333191D815B913A), compiling. 
[2024.01.01-23.08.13:325][  1]LogMaterial: Display: Missing cached shadermap for PPM_metallic in PCD3D_SM5, Default, SM5 (DDC key hash: 8020315E0AA40C7FD5CC57547004D7074020B033), compiling. 
[2024.01.01-23.08.13:355][  1]LogMaterial: Display: Missing cached shadermap for PPM_roughness in PCD3D_SM5, Default, SM5 (DDC key hash: 9F9247C8FB78E4441394A8B70C1FC0BF3E4EDE26), compiling. 
[2024.01.01-23.08.13:385][  1]LogMaterial: Display: Missing cached shadermap for PPM_specular in PCD3D_SM5, Default, SM5 (DDC key hash: 592F1DC776D25B3768287DEA4230FA02AFA8050F), compiling. 
[2024.01.01-23.08.13:415][  1]LogMaterial: Display: Missing cached shadermap for PPM_basecolor in PCD3D_SM5, Default, SM5 (DDC key hash: 019C65E480B66B3C8DCA5F162C2887ED43FD6F61), compiling. 
[2024.01.01-23.08.13:447][  1]LogPython: Error: Traceback (most recent call last):
[2024.01.01-23.08.13:447][  1]LogPython: Error:   File "C:/Users/User/src/MatrixCity/MatrixCityPlugin/Content/Python/pipeline.py", line 47, in <module>
[2024.01.01-23.08.13:447][  1]LogPython: Error:     main(render_config_path)
[2024.01.01-23.08.13:447][  1]LogPython: Error:   File "D:\UnrealProjects/CitySample_UE50/Plugins/MatrixCityPlugin/Content/Python\utils.py", line 23, in wrap_func
[2024.01.01-23.08.13:447][  1]LogPython: Error:     result = func(*args, **kwargs)
[2024.01.01-23.08.13:447][  1]LogPython: Error:   File "C:/Users/User/src/MatrixCity/MatrixCityPlugin/Content/Python/pipeline.py", line 27, in main
[2024.01.01-23.08.13:447][  1]LogPython: Error:     CustomMoviePipeline.add_job_to_queue_with_render_config(
[2024.01.01-23.08.13:447][  1]LogPython: Error:   File "D:\UnrealProjects/CitySample_UE50/Plugins/MatrixCityPlugin/Content/Python\custom_movie_pipeline.py", line 341, in add_job_to_queue_with_render_config
[2024.01.01-23.08.13:447][  1]LogPython: Error:     newJob.set_configuration(movie_preset)
[2024.01.01-23.08.13:447][  1]LogPython: Error: AttributeError: 'bool' object has no attribute 'set_configuration'
[2024.01.01-23.08.13:614][  1]LogPython: Warning: ticking.
[2024.01.01-23.08.13:614][  1]LogPython: Warning: still loading...
[2024.01.01-23.08.15:667][  1]LogFileCache: Scanning file cache for directory 'D:/UnrealProjects/CitySample_UE50/Content/' took 4.99s
[2024.01.01-23.08.15:667][  1]LogMovieRenderPipeline: Warning: Attempted to send a socket message but no socket connected, ignoring...
[2024.01.01-23.08.15:667][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.08.15:840][  1]LogPython: Warning: ticking.
[2024.01.01-23.08.15:840][  1]LogPython: Warning: still loading...
[2024.01.01-23.08.17:870][  1]LogMovieRenderPipeline: Warning: Attempted to send a socket message but no socket connected, ignoring...
[2024.01.01-23.08.17:870][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.08.18:011][  1]LogPython: Warning: ticking.
[2024.01.01-23.08.18:011][  1]LogPython: Warning: still loading...
SehunKing commented 10 months ago

@yzslab I have encountered the same problem, maybe you can do the second point as I mentioned above to solve that AttributeError. But there will still be other problems.

yzslab commented 10 months ago

With render sequence block commenting out, the UE will exits immediately after project being loaded. Is this expected behaviour?

[2024.01.01-23.40.36:132][  1]Cmd: py C:\Users\User\src\MatrixCity\MatrixCityPlugin\Content\Python\pipeline.py
[2024.01.01-23.40.36:401][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.36:402][  1]LogPython: Warning: still loading...
[2024.01.01-23.40.36:403][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.40.36:407][  1]LogActorFactory: Actor Factory attempting to spawn Class /Script/CinematicCamera.CineCameraActor
[2024.01.01-23.40.36:407][  1]LogActorFactory: Actor Factory spawned Class /Script/CinematicCamera.CineCameraActor as actor: CineCameraActor /Game/Map/Startup/Startup.Startup:PersistentLevel.CineCameraActor_1
[2024.01.01-23.40.36:423][  1]LogEditorScripting: Error: The AssetRegistry is currently loading.
[2024.01.01-23.40.36:423][  1]LogPython: [*] Created Sequence: /Game/Sequences/aerial_train
[2024.01.01-23.40.36:569][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.36:569][  1]LogPython: Warning: still loading...
[2024.01.01-23.40.38:611][  1]LogFileCache: Scanning file cache for directory 'D:/UnrealProjects/CitySample_UE50/Content/' took 5.00s
[2024.01.01-23.40.38:611][  1]LogMovieRenderPipeline: Warning: Attempted to send a socket message but no socket connected, ignoring...
[2024.01.01-23.40.38:611][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.40.38:780][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.38:780][  1]LogPython: Warning: still loading...
yzslab commented 10 months ago

@yzslab I have encountered the same problem, maybe you can do the second point as I mentioned above to solve that AttributeError. But there will still be other problems.

Thanks, I changed it from Maps to Map, but didn't solve this problem.

yixuanli98 commented 10 months ago

阅读论文后感觉MatrixCity是个非常值得一试的插件,但我在使用过程中发现了一些bug和问题,在我的两台电脑上都能稳定复现:

  1. pipeline中的渲染部分代码被注释,为什么?
  2. utils_sequencer main()函数中的level变量,其中Maps在实际project目录中为Map
  3. 添加MatrixCity插件后,project第一次启动会编译7k多个着色器,进入project后纹理无法正常显示,提示正在准备2w多个着色器,且在城市示例中的速度无法接受
  4. 新建简单project做测试,修复1和2两个问题,并等待着色器编译结束后可以正常渲染得到一些图像,但在城市示例中运行run_cmd_async会不断跳弹窗提示sequnces已存在,无法正常渲染

I have released all the documentations and I think this will solve most of your problems. For 3, could you give me some examples and you device information.

yixuanli98 commented 10 months ago

[2024.01.01-23.08.17:870][ 1]LogMovieRenderPipeline: Warning: Attempted to send a socket message but no socket connected, ignoring...

For problem2, thanks for your comment, I will change this typo.

yixuanli98 commented 10 months ago

阅读论文后感觉MatrixCity是个非常值得一试的插件,但我在使用过程中发现了一些bug和问题,在我的两台电脑上都能稳定复现:

  1. pipeline中的渲染部分代码被注释,为什么?
  2. utils_sequencer main()函数中的level变量,其中Maps在实际project目录中为Map
  3. 添加MatrixCity插件后,project第一次启动会编译7k多个着色器,进入project后纹理无法正常显示,提示正在准备2w多个着色器,且在城市示例中的速度无法接受
  4. 新建简单project做测试,修复1和2两个问题,并等待着色器编译结束后可以正常渲染得到一些图像,但在城市示例中运行run_cmd_async会不断跳弹窗提示sequnces已存在,无法正常渲染

For problem 4, you should delete duplicate assets manually. Our plugin cannot automatically override.

yixuanli98 commented 10 months ago

Hi, did you render images successfully? I uncommented the codes of render sequence, but got below error messages:

[2024.01.01-23.08.12:931][  1]Cmd: py C:\Users\User\src\MatrixCity\MatrixCityPlugin\Content\Python\pipeline.py
[2024.01.01-23.08.13:192][  1]LogPython: Warning: ticking.
[2024.01.01-23.08.13:192][  1]LogPython: Warning: still loading...
[2024.01.01-23.08.13:194][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.08.13:199][  1]LogActorFactory: Actor Factory attempting to spawn Class /Script/CinematicCamera.CineCameraActor
[2024.01.01-23.08.13:200][  1]LogActorFactory: Actor Factory spawned Class /Script/CinematicCamera.CineCameraActor as actor: CineCameraActor /Game/Map/Startup/Startup.Startup:PersistentLevel.CineCameraActor_1
[2024.01.01-23.08.13:216][  1]LogEditorScripting: Error: The AssetRegistry is currently loading.
[2024.01.01-23.08.13:216][  1]LogPython: [*] Created Sequence: /Game/Sequences/aerial_train
[2024.01.01-23.08.13:224][  1]LogPython: Queue cleared.
[2024.01.01-23.08.13:225][  1]LogEditorScripting: Error: The AssetRegistry is currently loading.
[2024.01.01-23.08.13:243][  1]LogMaterial: Display: Missing cached shadermap for PPM_DepthMap_Parent in PCD3D_SM5, Default, SM5 (DDC key hash: 6E6E7C4C5E33FF407792CDAD53FE7AD4881D82DC), compiling. 
[2024.01.01-23.08.13:270][  1]LogMaterial: Display: Missing cached shadermap for MovieRenderQueue_WorldNormal in PCD3D_SM5, Default, SM5 (DDC key hash: 14E7105BB8D6186A00A5EFACC2C9A439EEEF14CB), compiling. 
[2024.01.01-23.08.13:298][  1]LogMaterial: Display: Missing cached shadermap for PPM_diffusecolor in PCD3D_SM5, Default, SM5 (DDC key hash: 19FA60A419502FFD87A1FF5C8333191D815B913A), compiling. 
[2024.01.01-23.08.13:325][  1]LogMaterial: Display: Missing cached shadermap for PPM_metallic in PCD3D_SM5, Default, SM5 (DDC key hash: 8020315E0AA40C7FD5CC57547004D7074020B033), compiling. 
[2024.01.01-23.08.13:355][  1]LogMaterial: Display: Missing cached shadermap for PPM_roughness in PCD3D_SM5, Default, SM5 (DDC key hash: 9F9247C8FB78E4441394A8B70C1FC0BF3E4EDE26), compiling. 
[2024.01.01-23.08.13:385][  1]LogMaterial: Display: Missing cached shadermap for PPM_specular in PCD3D_SM5, Default, SM5 (DDC key hash: 592F1DC776D25B3768287DEA4230FA02AFA8050F), compiling. 
[2024.01.01-23.08.13:415][  1]LogMaterial: Display: Missing cached shadermap for PPM_basecolor in PCD3D_SM5, Default, SM5 (DDC key hash: 019C65E480B66B3C8DCA5F162C2887ED43FD6F61), compiling. 
[2024.01.01-23.08.13:447][  1]LogPython: Error: Traceback (most recent call last):
[2024.01.01-23.08.13:447][  1]LogPython: Error:   File "C:/Users/User/src/MatrixCity/MatrixCityPlugin/Content/Python/pipeline.py", line 47, in <module>
[2024.01.01-23.08.13:447][  1]LogPython: Error:     main(render_config_path)
[2024.01.01-23.08.13:447][  1]LogPython: Error:   File "D:\UnrealProjects/CitySample_UE50/Plugins/MatrixCityPlugin/Content/Python\utils.py", line 23, in wrap_func
[2024.01.01-23.08.13:447][  1]LogPython: Error:     result = func(*args, **kwargs)
[2024.01.01-23.08.13:447][  1]LogPython: Error:   File "C:/Users/User/src/MatrixCity/MatrixCityPlugin/Content/Python/pipeline.py", line 27, in main
[2024.01.01-23.08.13:447][  1]LogPython: Error:     CustomMoviePipeline.add_job_to_queue_with_render_config(
[2024.01.01-23.08.13:447][  1]LogPython: Error:   File "D:\UnrealProjects/CitySample_UE50/Plugins/MatrixCityPlugin/Content/Python\custom_movie_pipeline.py", line 341, in add_job_to_queue_with_render_config
[2024.01.01-23.08.13:447][  1]LogPython: Error:     newJob.set_configuration(movie_preset)
[2024.01.01-23.08.13:447][  1]LogPython: Error: AttributeError: 'bool' object has no attribute 'set_configuration'
[2024.01.01-23.08.13:614][  1]LogPython: Warning: ticking.
[2024.01.01-23.08.13:614][  1]LogPython: Warning: still loading...
[2024.01.01-23.08.15:667][  1]LogFileCache: Scanning file cache for directory 'D:/UnrealProjects/CitySample_UE50/Content/' took 4.99s
[2024.01.01-23.08.15:667][  1]LogMovieRenderPipeline: Warning: Attempted to send a socket message but no socket connected, ignoring...
[2024.01.01-23.08.15:667][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.08.15:840][  1]LogPython: Warning: ticking.
[2024.01.01-23.08.15:840][  1]LogPython: Warning: still loading...
[2024.01.01-23.08.17:870][  1]LogMovieRenderPipeline: Warning: Attempted to send a socket message but no socket connected, ignoring...
[2024.01.01-23.08.17:870][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.08.18:011][  1]LogPython: Warning: ticking.
[2024.01.01-23.08.18:011][  1]LogPython: Warning: still loading...

I have released all my documentations and you can refer to them. We use two steps to get the final results: 1. generate the camera trajectory sequence; 2. manually render images in the City Sample project for higher efficiency and flexibly control the environmental settings.

yixuanli98 commented 10 months ago

With render sequence block commenting out, the UE will exits immediately after project being loaded. Is this expected behaviour?

[2024.01.01-23.40.36:132][  1]Cmd: py C:\Users\User\src\MatrixCity\MatrixCityPlugin\Content\Python\pipeline.py
[2024.01.01-23.40.36:401][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.36:402][  1]LogPython: Warning: still loading...
[2024.01.01-23.40.36:403][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.40.36:407][  1]LogActorFactory: Actor Factory attempting to spawn Class /Script/CinematicCamera.CineCameraActor
[2024.01.01-23.40.36:407][  1]LogActorFactory: Actor Factory spawned Class /Script/CinematicCamera.CineCameraActor as actor: CineCameraActor /Game/Map/Startup/Startup.Startup:PersistentLevel.CineCameraActor_1
[2024.01.01-23.40.36:423][  1]LogEditorScripting: Error: The AssetRegistry is currently loading.
[2024.01.01-23.40.36:423][  1]LogPython: [*] Created Sequence: /Game/Sequences/aerial_train
[2024.01.01-23.40.36:569][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.36:569][  1]LogPython: Warning: still loading...
[2024.01.01-23.40.38:611][  1]LogFileCache: Scanning file cache for directory 'D:/UnrealProjects/CitySample_UE50/Content/' took 5.00s
[2024.01.01-23.40.38:611][  1]LogMovieRenderPipeline: Warning: Attempted to send a socket message but no socket connected, ignoring...
[2024.01.01-23.40.38:611][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.40.38:780][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.38:780][  1]LogPython: Warning: still loading...

This means you have already created the sequence "aerial_train". Then you can render this sequence manually in the City Sample Project following Render-Data

yzslab commented 10 months ago

With render sequence block commenting out, the UE will exits immediately after project being loaded. Is this expected behaviour?

[2024.01.01-23.40.36:132][  1]Cmd: py C:\Users\User\src\MatrixCity\MatrixCityPlugin\Content\Python\pipeline.py
[2024.01.01-23.40.36:401][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.36:402][  1]LogPython: Warning: still loading...
[2024.01.01-23.40.36:403][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.40.36:407][  1]LogActorFactory: Actor Factory attempting to spawn Class /Script/CinematicCamera.CineCameraActor
[2024.01.01-23.40.36:407][  1]LogActorFactory: Actor Factory spawned Class /Script/CinematicCamera.CineCameraActor as actor: CineCameraActor /Game/Map/Startup/Startup.Startup:PersistentLevel.CineCameraActor_1
[2024.01.01-23.40.36:423][  1]LogEditorScripting: Error: The AssetRegistry is currently loading.
[2024.01.01-23.40.36:423][  1]LogPython: [*] Created Sequence: /Game/Sequences/aerial_train
[2024.01.01-23.40.36:569][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.36:569][  1]LogPython: Warning: still loading...
[2024.01.01-23.40.38:611][  1]LogFileCache: Scanning file cache for directory 'D:/UnrealProjects/CitySample_UE50/Content/' took 5.00s
[2024.01.01-23.40.38:611][  1]LogMovieRenderPipeline: Warning: Attempted to send a socket message but no socket connected, ignoring...
[2024.01.01-23.40.38:611][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.40.38:780][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.38:780][  1]LogPython: Warning: still loading...

This means you have already created the sequence "aerial_train". Then you can render this sequence manually in the City Sample Project following Render-Data

Thanks, I followed the latest documentations, and it works fine now! Except it takes almost 2 hours to compile the shaders.

wbteng9526 commented 10 months ago

Hi, I encounter similar issue. The log shows I successfully created a sequence, but I can't find where the sequence is and UE just crashed and restarted back and forth. Could you please help me resolve the issue? Thank you

[2024-01-04 10:32:34,200] - INFO - [*] Starting Unreal Engine...
[2024-01-04 10:32:34,203] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:08,204] - INFO - Socket Connection from ('127.0.0.1', 13691)
[2024-01-04 10:33:08,208] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:09,858] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:14,271] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor, wisptis, gdi+ window (unrealeditor-cmd.exe)
[2024-01-04 10:33:14,279] - INFO - ------------------
[2024-01-04 10:33:14,280] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:14,281] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:33,312] - INFO - Socket Connection from ('127.0.0.1', 13705)
[2024-01-04 10:33:33,314] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:33,315] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:33,337] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:34,310] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor
[2024-01-04 10:33:34,314] - INFO - ------------------
[2024-01-04 10:33:34,318] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:34,318] - INFO - [*] Unreal Engine PID: 18860
[2024-01-04 10:33:52,596] - INFO - Socket Connection from ('127.0.0.1', 13719)
[2024-01-04 10:34:23,060] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:34:23,071] - ERROR - [!] Unreal Engine crashed with poll code 1, windows titles:
[2024-01-04 10:34:23,073] - INFO - ------------------
[2024-01-04 10:34:23,075] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:34:23,077] - INFO - [*] Unreal Engine PID: 24604
[2024-01-04 10:34:31,697] - INFO - [*] Unreal Engine is killed by keyboard interrupt.
yixuanli98 commented 10 months ago

With render sequence block commenting out, the UE will exits immediately after project being loaded. Is this expected behaviour?

[2024.01.01-23.40.36:132][  1]Cmd: py C:\Users\User\src\MatrixCity\MatrixCityPlugin\Content\Python\pipeline.py
[2024.01.01-23.40.36:401][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.36:402][  1]LogPython: Warning: still loading...
[2024.01.01-23.40.36:403][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.40.36:407][  1]LogActorFactory: Actor Factory attempting to spawn Class /Script/CinematicCamera.CineCameraActor
[2024.01.01-23.40.36:407][  1]LogActorFactory: Actor Factory spawned Class /Script/CinematicCamera.CineCameraActor as actor: CineCameraActor /Game/Map/Startup/Startup.Startup:PersistentLevel.CineCameraActor_1
[2024.01.01-23.40.36:423][  1]LogEditorScripting: Error: The AssetRegistry is currently loading.
[2024.01.01-23.40.36:423][  1]LogPython: [*] Created Sequence: /Game/Sequences/aerial_train
[2024.01.01-23.40.36:569][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.36:569][  1]LogPython: Warning: still loading...
[2024.01.01-23.40.38:611][  1]LogFileCache: Scanning file cache for directory 'D:/UnrealProjects/CitySample_UE50/Content/' took 5.00s
[2024.01.01-23.40.38:611][  1]LogMovieRenderPipeline: Warning: Attempted to send a socket message but no socket connected, ignoring...
[2024.01.01-23.40.38:611][  1]LogPython: [*] Unreal Engine Loaded!
[2024.01.01-23.40.38:780][  1]LogPython: Warning: ticking.
[2024.01.01-23.40.38:780][  1]LogPython: Warning: still loading...

This means you have already created the sequence "aerial_train". Then you can render this sequence manually in the City Sample Project following Render-Data

Thanks, I followed the latest documentations, and it works fine now! Except it takes almost 2 hours to compile the shaders.

It's normal for the first rendering in City Sample to take such a long time. It will be faster afterwards, as the shaders won't need to be calculated again.

yixuanli98 commented 10 months ago

Hi, I encounter similar issue. The log shows I successfully created a sequence, but I can't find where the sequence is and UE just crashed and restarted back and forth. Could you please help me resolve the issue? Thank you

[2024-01-04 10:32:34,200] - INFO - [*] Starting Unreal Engine...
[2024-01-04 10:32:34,203] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:08,204] - INFO - Socket Connection from ('127.0.0.1', 13691)
[2024-01-04 10:33:08,208] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:09,858] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:14,271] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor, wisptis, gdi+ window (unrealeditor-cmd.exe)
[2024-01-04 10:33:14,279] - INFO - ------------------
[2024-01-04 10:33:14,280] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:14,281] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:33,312] - INFO - Socket Connection from ('127.0.0.1', 13705)
[2024-01-04 10:33:33,314] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:33,315] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:33,337] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:34,310] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor
[2024-01-04 10:33:34,314] - INFO - ------------------
[2024-01-04 10:33:34,318] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:34,318] - INFO - [*] Unreal Engine PID: 18860
[2024-01-04 10:33:52,596] - INFO - Socket Connection from ('127.0.0.1', 13719)
[2024-01-04 10:34:23,060] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:34:23,071] - ERROR - [!] Unreal Engine crashed with poll code 1, windows titles:
[2024-01-04 10:34:23,073] - INFO - ------------------
[2024-01-04 10:34:23,075] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:34:23,077] - INFO - [*] Unreal Engine PID: 24604
[2024-01-04 10:34:31,697] - INFO - [*] Unreal Engine is killed by keyboard interrupt.

Please reader this part https://github.com/city-super/MatrixCity/blob/main/MatrixCityPlugin/docs/Generate-Trajectory.md#run-from-python. Created Sequence: /Game/Sequences/aerial_train shows you have successfully generated the sequence, which is saved in [Your project]/Content/Sequences. Besides, we do not recommend using City Sample to create sequence because this project is too large. Maybe you can create a new empty UE project to create trajectory following our guidance Generate-Trajectory. Then you can manually render this trajectory following our guidance Render-Data.

yzslab commented 10 months ago

It's normal for the first rendering in City Sample to take such a long time. It will be faster afterwards, as the shaders won't need to be calculated again.

Hi, every times finish rendering, I get below error messages:

Blueprint Runtime Error: "Accessed None trying to read property CallFunc_GetCitySampleGameState_ReturnValue". Node:  Bind Event to On Trigger Daytime Graph:  EventGraph Function:  Execute Ubergraph BP Nightmode Blueprint:  BP_nightmode
Blueprint Runtime Error: "Accessed None trying to read property CallFunc_GetCitySampleGameState_ReturnValue". Node:  Bind Event to On Trigger Nighttime Graph:  EventGraph Function:  Execute Ubergraph BP Nightmode Blueprint:  BP_nightmode
Server logged in
Play in editor total start time 44.993 seconds.

Are these important?

yixuanli98 commented 10 months ago

It's normal for the first rendering in City Sample to take such a long time. It will be faster afterwards, as the shaders won't need to be calculated again.

Hi, every times finish rendering, I get below error messages:

Blueprint Runtime Error: "Accessed None trying to read property CallFunc_GetCitySampleGameState_ReturnValue". Node:  Bind Event to On Trigger Daytime Graph:  EventGraph Function:  Execute Ubergraph BP Nightmode Blueprint:  BP_nightmode
Blueprint Runtime Error: "Accessed None trying to read property CallFunc_GetCitySampleGameState_ReturnValue". Node:  Bind Event to On Trigger Nighttime Graph:  EventGraph Function:  Execute Ubergraph BP Nightmode Blueprint:  BP_nightmode
Server logged in
Play in editor total start time 44.993 seconds.

Are these important?

If you can successfully render the images, this information is not important.

yzslab commented 10 months ago

If you can successfully render the images, this information is not important.

Thanks, all images rendered successfully.

SehunKing commented 10 months ago

Hi, I encounter similar issue. The log shows I successfully created a sequence, but I can't find where the sequence is and UE just crashed and restarted back and forth. Could you please help me resolve the issue? Thank you

[2024-01-04 10:32:34,200] - INFO - [*] Starting Unreal Engine...
[2024-01-04 10:32:34,203] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:08,204] - INFO - Socket Connection from ('127.0.0.1', 13691)
[2024-01-04 10:33:08,208] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:09,858] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:14,271] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor, wisptis, gdi+ window (unrealeditor-cmd.exe)
[2024-01-04 10:33:14,279] - INFO - ------------------
[2024-01-04 10:33:14,280] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:14,281] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:33,312] - INFO - Socket Connection from ('127.0.0.1', 13705)
[2024-01-04 10:33:33,314] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:33,315] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:33,337] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:34,310] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor
[2024-01-04 10:33:34,314] - INFO - ------------------
[2024-01-04 10:33:34,318] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:34,318] - INFO - [*] Unreal Engine PID: 18860
[2024-01-04 10:33:52,596] - INFO - Socket Connection from ('127.0.0.1', 13719)
[2024-01-04 10:34:23,060] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:34:23,071] - ERROR - [!] Unreal Engine crashed with poll code 1, windows titles:
[2024-01-04 10:34:23,073] - INFO - ------------------
[2024-01-04 10:34:23,075] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:34:23,077] - INFO - [*] Unreal Engine PID: 24604
[2024-01-04 10:34:31,697] - INFO - [*] Unreal Engine is killed by keyboard interrupt.

Please reader this part https://github.com/city-super/MatrixCity/blob/main/MatrixCityPlugin/docs/Generate-Trajectory.md#run-from-python. Created Sequence: /Game/Sequences/aerial_train shows you have successfully generated the sequence, which is saved in [Your project]/Content/Sequences. Besides, we do not recommend using City Sample to create sequence because this project is too large. Maybe you can create a new empty UE project to create trajectory following our guidance Generate-Trajectory. Then you can manually render this trajectory following our guidance Render-Data.

I also find that I can just get sequence asset in other small project to avoid shader compiling time, but I want to know the purpose of compling shaders, it seems that shaders are irrelevant to rendering images, and are even less irrelevant to sequence

yixuanli98 commented 10 months ago

Hi, I encounter similar issue. The log shows I successfully created a sequence, but I can't find where the sequence is and UE just crashed and restarted back and forth. Could you please help me resolve the issue? Thank you

[2024-01-04 10:32:34,200] - INFO - [*] Starting Unreal Engine...
[2024-01-04 10:32:34,203] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:08,204] - INFO - Socket Connection from ('127.0.0.1', 13691)
[2024-01-04 10:33:08,208] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:09,858] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:14,271] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor, wisptis, gdi+ window (unrealeditor-cmd.exe)
[2024-01-04 10:33:14,279] - INFO - ------------------
[2024-01-04 10:33:14,280] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:14,281] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:33,312] - INFO - Socket Connection from ('127.0.0.1', 13705)
[2024-01-04 10:33:33,314] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:33,315] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:33,337] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:34,310] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor
[2024-01-04 10:33:34,314] - INFO - ------------------
[2024-01-04 10:33:34,318] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:34,318] - INFO - [*] Unreal Engine PID: 18860
[2024-01-04 10:33:52,596] - INFO - Socket Connection from ('127.0.0.1', 13719)
[2024-01-04 10:34:23,060] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:34:23,071] - ERROR - [!] Unreal Engine crashed with poll code 1, windows titles:
[2024-01-04 10:34:23,073] - INFO - ------------------
[2024-01-04 10:34:23,075] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:34:23,077] - INFO - [*] Unreal Engine PID: 24604
[2024-01-04 10:34:31,697] - INFO - [*] Unreal Engine is killed by keyboard interrupt.

Please reader this part https://github.com/city-super/MatrixCity/blob/main/MatrixCityPlugin/docs/Generate-Trajectory.md#run-from-python. Created Sequence: /Game/Sequences/aerial_train shows you have successfully generated the sequence, which is saved in [Your project]/Content/Sequences. Besides, we do not recommend using City Sample to create sequence because this project is too large. Maybe you can create a new empty UE project to create trajectory following our guidance Generate-Trajectory. Then you can manually render this trajectory following our guidance Render-Data.

I also find that I can just get sequence asset in other small project to avoid shader compiling time, but I want to know the purpose of compling shaders, it seems that shaders are irrelevant to rendering images, and are even less irrelevant to sequence

This is inevitable for UE project.

SehunKing commented 10 months ago

Hi, I encounter similar issue. The log shows I successfully created a sequence, but I can't find where the sequence is and UE just crashed and restarted back and forth. Could you please help me resolve the issue? Thank you

[2024-01-04 10:32:34,200] - INFO - [*] Starting Unreal Engine...
[2024-01-04 10:32:34,203] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:08,204] - INFO - Socket Connection from ('127.0.0.1', 13691)
[2024-01-04 10:33:08,208] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:09,858] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:14,271] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor, wisptis, gdi+ window (unrealeditor-cmd.exe)
[2024-01-04 10:33:14,279] - INFO - ------------------
[2024-01-04 10:33:14,280] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:14,281] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:33,312] - INFO - Socket Connection from ('127.0.0.1', 13705)
[2024-01-04 10:33:33,314] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:33,315] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:33,337] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:34,310] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor
[2024-01-04 10:33:34,314] - INFO - ------------------
[2024-01-04 10:33:34,318] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:34,318] - INFO - [*] Unreal Engine PID: 18860
[2024-01-04 10:33:52,596] - INFO - Socket Connection from ('127.0.0.1', 13719)
[2024-01-04 10:34:23,060] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:34:23,071] - ERROR - [!] Unreal Engine crashed with poll code 1, windows titles:
[2024-01-04 10:34:23,073] - INFO - ------------------
[2024-01-04 10:34:23,075] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:34:23,077] - INFO - [*] Unreal Engine PID: 24604
[2024-01-04 10:34:31,697] - INFO - [*] Unreal Engine is killed by keyboard interrupt.

Please reader this part https://github.com/city-super/MatrixCity/blob/main/MatrixCityPlugin/docs/Generate-Trajectory.md#run-from-python. Created Sequence: /Game/Sequences/aerial_train shows you have successfully generated the sequence, which is saved in [Your project]/Content/Sequences. Besides, we do not recommend using City Sample to create sequence because this project is too large. Maybe you can create a new empty UE project to create trajectory following our guidance Generate-Trajectory. Then you can manually render this trajectory following our guidance Render-Data.

I also find that I can just get sequence asset in other small project to avoid shader compiling time, but I want to know the purpose of compling shaders, it seems that shaders are irrelevant to rendering images, and are even less irrelevant to sequence

This is inevitable for UE project.

But the UE project don't need to compling shader when I first creat it, only when I put MatrixCityPlugin in it

yixuanli98 commented 10 months ago

Hi, I encounter similar issue. The log shows I successfully created a sequence, but I can't find where the sequence is and UE just crashed and restarted back and forth. Could you please help me resolve the issue? Thank you

[2024-01-04 10:32:34,200] - INFO - [*] Starting Unreal Engine...
[2024-01-04 10:32:34,203] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:08,204] - INFO - Socket Connection from ('127.0.0.1', 13691)
[2024-01-04 10:33:08,208] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:09,858] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:14,271] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor, wisptis, gdi+ window (unrealeditor-cmd.exe)
[2024-01-04 10:33:14,279] - INFO - ------------------
[2024-01-04 10:33:14,280] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:14,281] - INFO - [*] Unreal Engine PID: 16092
[2024-01-04 10:33:33,312] - INFO - Socket Connection from ('127.0.0.1', 13705)
[2024-01-04 10:33:33,314] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:33,315] - INFO - [*] Unreal Engine Loaded!
[2024-01-04 10:33:33,337] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:33:34,310] - ERROR - [!] Unreal Engine crashed with poll code None, windows titles: message, citysample - unreal editor
[2024-01-04 10:33:34,314] - INFO - ------------------
[2024-01-04 10:33:34,318] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:33:34,318] - INFO - [*] Unreal Engine PID: 18860
[2024-01-04 10:33:52,596] - INFO - Socket Connection from ('127.0.0.1', 13719)
[2024-01-04 10:34:23,060] - INFO - [*] Created Sequence: /Game/Sequences/aerial_train
[2024-01-04 10:34:23,071] - ERROR - [!] Unreal Engine crashed with poll code 1, windows titles:
[2024-01-04 10:34:23,073] - INFO - ------------------
[2024-01-04 10:34:23,075] - INFO - [*] Restarting Unreal Engine...
[2024-01-04 10:34:23,077] - INFO - [*] Unreal Engine PID: 24604
[2024-01-04 10:34:31,697] - INFO - [*] Unreal Engine is killed by keyboard interrupt.

Please reader this part https://github.com/city-super/MatrixCity/blob/main/MatrixCityPlugin/docs/Generate-Trajectory.md#run-from-python. Created Sequence: /Game/Sequences/aerial_train shows you have successfully generated the sequence, which is saved in [Your project]/Content/Sequences. Besides, we do not recommend using City Sample to create sequence because this project is too large. Maybe you can create a new empty UE project to create trajectory following our guidance Generate-Trajectory. Then you can manually render this trajectory following our guidance Render-Data.

I also find that I can just get sequence asset in other small project to avoid shader compiling time, but I want to know the purpose of compling shaders, it seems that shaders are irrelevant to rendering images, and are even less irrelevant to sequence

This is inevitable for UE project.

But the UE project don't need to compling shader when I first creat it, only when I put MatrixCityPlugin in it

I am not sure this is why. I think this is a UE mechanism, not caused by our MatrixCityPlugin. If I don't use the project for a while, it sometimes needs to compile the shader before using Movie Render Queue(a UE built-in plugin) to render images without containing our MatrixCityPlugin in the UE project. Maybe you can find a more efficient way. Welcome to submit a pull request.