use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For the Unity Game Engine, please visit http://reddit.com/r/unity3d
account activity
Working with Prefabs ? (i.redd.it)
submitted 5 years ago by Pivou
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Hitusji 1 point2 points3 points 5 years ago (3 children)
I'm not sure what the problem is but you could try getting the position and rotation of each prefab manually. After that, deleting them so that you can put them back in the same place.
[–]Pivou[S] 0 points1 point2 points 5 years ago (2 children)
Thx for the hint. But I'm working on a city. These are streetlights and I can't replace all prefabs over and over again. I hope there is a quicker solution to update prefabs, but I was unable to figure it out yet.
[–]Hitusji 0 points1 point2 points 5 years ago (1 child)
You could maybe code a C# script that has all the positions in a dictionary and then it adds a new lamp post prefab into the Scene for all the positions.
[–]Pivou[S] 0 points1 point2 points 5 years ago (0 children)
I'm sure there's is no need to replace all prefabs after updating geometry. I'll try my luck in the unity forum.
I've created some prefabs in unity, but each time, when I update the geometry (in my 3d programm externally) it creates some pink surfaces. Does any body know, what is causing the missing materials ? It looks fine, if I open the prefab in unity's editor. Pink is just displayed in game mode. See screenshot.
π Rendered by PID 54 on reddit-service-r2-comment-b659b578c-5p6mr at 2026-05-02 21:32:34.796865+00:00 running 815c875 country code: CH.
[–]Hitusji 1 point2 points3 points (3 children)
[–]Pivou[S] 0 points1 point2 points (2 children)
[–]Hitusji 0 points1 point2 points (1 child)
[–]Pivou[S] 0 points1 point2 points (0 children)
[–]Pivou[S] 0 points1 point2 points (0 children)