[Bug]: useSync Configure your own assets upload interface, will be infinite reconnection, resulting in no operation
### What happened?

useSync Configure your own assets upload interface, will be infinite reconnection, resulting in no operation

<img width="812" alt="Image" src="https://github.com/user-attachments/assets/ce8a5e0a-3eea-4aa3-9523-574ee04e6b61" />

<img width="615" alt="Image" src="https://github.com/user-attachments/assets/84b323f4-5c5b-4536-b514-c8aef794ddc1" />

<img width="617" alt="Image" src="https://github.com/user-attachments/assets/9387f8fa-aff2-48bd-875a-3c46d8657493" />

Neither of the following will work, but it will work in the example project：simple-server-example

<img width="1025" alt="Image" src="https://github.com/user-attachments/assets/d9a69b71-464b-4385-a03b-c8c75cb2f270" />

sample project（simple-server-example）The system can load normally


<img width="842" alt="Image" src="https://github.com/user-attachments/assets/59ea1d3b-a67f-4f80-8842-129210d0c9fb" />

### How can we reproduce the bug?

_No response_

### What browsers are you seeing the problem on?

_No response_

### Where did this happen?

The developer package

### Contact Details

wisdomsxin@gmail.com

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct