since 1.15 items and blocks that are dropped or mined become invisible, but can be picked up if near. reloading data packs or refreshing chunks doesn't work, only way to fix it is leaving the server and logging back in. i also tried using optifine but it didn't help, since the update im playing vanilla and still doesn't work. other players on the realm don't have any problems. im adding a youtube link because the file size is too big to attach.
Related issues
Comments

Thank you for your report!
However, we are already tracking this issue, and this report is a {color:#538BFF}Duplicate{color} of MC-111978, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord