Niagara Ensure condition failed: ModuleIndex != INDEX_NONE

不用play,打开资产就报错

[Attachment Removed]

Steps to Reproduce
打开NS_Hero_Female01_Trail就会报错,但是编译有没有问题,不知道什么情况,CurlNoiseForce 是哪里配置有问题

[Attachment Removed]

抱歉刚刚看到问题, ​不好意思请问你用的版本是5.7.1么? 我这边打开并没有报错信息, 我看了一下curl noise的用法也没有明显问题. [Image Removed]

[Attachment Removed]

我项目是5.7.4,然后我上传了个示例项目,我这里好像看不到了

[Attachment Removed]

我用 ThirdPerson 的示例,打开这个特效,日志里就会有ensure日志 [Image Removed]

[Attachment Removed]

了解了, 可以复现.

这是因为event handler里用了curl noise force, 这个模块有一个依赖, 需要当前stage后面有solve forces and velocity模块. ​但solve forces and velocity是属于particle update stage里的. 把curl noise force移上去到particle update就好了, 对效果应该是没有影响的. 接收事件时只用应用位置速度之类的属性就好, 后面统一加noise, update force.

[Image Removed]

[Attachment Removed]

另外, 开发同学把这个报警修掉了, 修复方式是把Curl Noise Force的依赖去掉了, 不需要美术改动, 可以合一下~

https://github.com/EpicGames/UnrealEngine/commit/c97169f856c4af99561daa1964346848c2509d8c

[Attachment Removed]

收到

[Attachment Removed]

合了一下,重新setup.bat 会报 newer version than the current engine,我用UE5的话是不是不能直接合并这个提交 [Image Removed]

[Attachment Removed]

其实改动就是把curl noise force模块的dependency设置去掉了solve forces and velocity, 报错可能是直接合新版本的二进制文件造成的,方便先自己修改下么?

[Attachment Removed]